if I run 2 winrs commands in the same Team City Command Line like this:
The build will hang.
- if I manually kill the winrs process on the build agent, the build will finish but will exit with code 1.
- if I run just one winrs command the build will pass.
- If I split the winrs command into 2 different build steps the build will also pass.
- If i put the two lines in a batch file and run that on the build agent it works also.
- If i Put the two lines in a cmd file and run that on the build agent as the build agent user it works also.
Does anyone have any idea what's going on here/how to fix this?
I'm hoping either a Team City or winrs guru can help me.
Prefix your commands with START /WAIT