v2.1.0
Binary release v2.1.0
Major changes
- Drop complex and unstable external log application support.
- Drop experimental console mode with _DEBUG builds
- Use object structures instead global variables
- Do not rotate logs if previous rotation was less then 2 minutes ago
- Use asynchronous read from redirected console process
- Ensure that all started processes are properly terminated
- Deprecate setting locale with -c command option
- Check for mutually exclusive options at startup
- Drop support for multiple -n options. The -n parameter will be used both for service and shutdown log names
- Disable -m0 command option. Users should use -t option instead
- Always overwrite existing log files
- Log status messages to separate SvcBatch.status.log file
New Features
- Add SVCBATCH_SERVICE_LOGS environment variable
- Add SVCBATCH_SERVICE_WORK environment variable
- Add SVCBATCH_APP_BIN, SVCBATCH_APP_DIR and SVCBATCH_APP_VER environment variables
- Add -h command option that enables to have separate home and work directories
- Add -k command option for changing default stop timeout
- Use -c command option to set user defined code page
- Add arguments from the service start application to the existing batch file arguments
Compiled using:
nmake
Microsoft (R) Program Maintenance Utility Version 14.29.30148.0
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30148 for x64
SHA256 hash of svcbatch-2.1.0-win-x64.zip:
316fc3d63ad39e1e502c1f7b7bb2232d0edc274832b5ece7d04fa77cbfbb19d6
Debug build
Compiled using:
nmake _DEBUG=1 _STATIC_MSVCRT=1
Microsoft (R) Program Maintenance Utility Version 14.29.30148.0
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30148 for x64
SHA256 hash of svcbatch-2.1.0-debug-win-x64.zip:
379a515c2369592f6ea51c4809759e4f6a628b7ce3c17e5aecf92e9d1d43540f