[cvsnt] Re: CVSNT does not seem to return from a cvs chekout command shelled out from WHS script.

Tony Hoyle tmh at nodomain.org
Sat Mar 12 23:06:32 GMT 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Another thing to note...

Brian J. Davis wrote:
>          cmdLineExec = WshShell.Exec( command );
>          while( cmdLineExec.Status == 0 )
>          {
>             WScript.Echo( "Executing: " + command );
>          }

This is wrong anyway because:

(a) It hogs the CPU - put a sleep(500) at least in there otherwise cvs 
will get no time to run.
(b) It doesn't read the stdout and stderr - which means that the 
application will eventually block until you start reading some data. 
this may be what you're seeing.

Tony



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook