PDA

View Full Version : Blocking Command Line


jspilman
29-Feb-2008, 11:26 AM
My source control software (AccuRev) expects the Merge tool to block at the command line until the output file is available. I can run Cirrus.exe with all the right options for left/right/center/output files, but since the command returns immediately AccuRev doesn't wait for the output file to be created and thinks that the merge failed.

Is it possible to get Cirrus.exe to block when run from the command-line until the GUI is closed? I tried /solo but that didn't help.

Thanks,
--Jeremy

Craig
29-Feb-2008, 12:25 PM
If you use /solo or if there aren't any copies of Cirrus running, it does block until the GUI is closed. Make sure there aren't any copies of Cirrus running (check Task Manager to be sure) and see if it works any differently. It it still doesn't you could try pointing AccuRev at a batch file with these contents instead of directly at Cirrus.exe:

start /wait cirrus.exe %1 %2 %3 %4