2 Replies Last post: Aug 13, 2009 5:35 PM by sk shailesh  
sk shailesh Newbie 2 posts since
Aug 12, 2009
Currently Being Moderated

Aug 12, 2009 10:42 AM

Command line build hang calling non-java process

Hi,

 

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?

 

 

Thanks,

Shailesh

Attachments:
Olivier Dassaud Novice 134 posts since
Apr 3, 2009
Currently Being Moderated
Aug 13, 2009 4:52 PM in response to: sk shailesh
Re: Command line build hang calling non-java process

Hi!

 

Just an idea: did you try to call bc2 without the "call" instruction?

 

Regards,

 

Olivier.

More Like This

  • Retrieving data ...