I have a batch file, which is calling a non java program Beyond Compare to synchronize two folders. The batch file works fine if it runs from the command line and exits normally.
I am using teamcity 4.5 and I have created a build project with build runner set as command line. The working directory and batch file to call is configured properly.
When I run the build it calls bc2.exe and then it hang for infinite time. It does not execute even the first statement in the BC2 script.
As it is not a java process, the thread dump is also not available.
If I kill the BC2 process from the task manager then the build proceed further.
There is no error in the teamcity log and no error in the build log also.
Please find the batch file and beyond comapre script attached.
Can you please help me to resolve this issue?