[cvsnt] script execution opens console window on server

Tony Hoyle tmh at nodomain.org
Fri Mar 12 21:46:05 GMT 2004


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.


Bo Berglund wrote:

> cmd.exe /C D:\server\CVSMailer\CVSMailer.exe -l$CVSPID $USER $CVSROOT %{sVv}
> 
> where it of course expands the %{sVv} part. In this case there is no switch
> to use in order to hide the window.

In this case there is no window - cmd.exe is started without one, an unless cvsmailer
itself creates one there will be no window (well, not a visible one anyway).

However if cvsmailer then calls a console app it is up to it to supply the SW_HIDE
parameter to the subsequent child process.

> But if it instead used the CreateProcess API call then it could well supply
> the SW_HIDE parameter to the window handling part, I think.

It does already.

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