[cvsnt] script execution opens console window on server
Tony Hoyle
tmh at nodomain.org
Fri Mar 12 21:46:05 GMT 2004
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