MW_Didata
2 months agoSuper Contributor
Sessioncreator CLI never returns ERRORLEVEL 1
I noticed this a while ago, when using Sessioncreator through the CLI the documentation says this:
@echo off
"C:\TestCompleteFolder\Bin\TestComplete.exe" "C:\TestCompleteProjects\MyProj\MyProj.mds" /run /exit
IF ERRORLEVEL 1001 GOTO NotEnoughDiskSpace
IF ERRORLEVEL 1000 GOTO AnotherInstance
IF ERRORLEVEL 127 GOTO DamagedInstall
IF ERRORLEVEL 4 GOTO Timeout
IF ERRORLEVEL 3 GOTO CannotRun
IF ERRORLEVEL 2 GOTO Errors
IF ERRORLEVEL 1 GOTO Warnings
IF ERRORLEVEL 0 GOTO Success
IF ERRORLEVEL -1 GOTO LicenseFailed
But when warnings are in the logs I only get ERRORLEVEL 1 (Success).
This has been an issue for at least the past 3 years.
Overal not a big issue, I was just wondering if it's just me.