Hi Sharon,
I would like to run a batch file on an another computer with the following command.
staf host process start shell command "C:\test.bat" RETURNSTDOUT STDERRTOSTDOUT WAIT
For this test the test.bat contains exit -1.
I would like staf to return the same exit code what my batch file had to fail a TeamCity step.
Is it possible somehow?
Thank you.
Kornel
Currently the return code is always 0.