[cvsnt] script execution opens console window on server
Bo Berglund
Bo.Berglund at system3r.se
Fri Mar 12 11:05:40 GMT 2004
OK, so what will happen when the script line looks like this then:
DEFAULT D:\server\CVSMailer\CVSMailer.exe -l$CVSPID $USER $CVSROOT %{sVv}
In this case CVSMailer.exe is a non-windowed console application.
I assume that what CVSNT does is something like:
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.
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.
Maybe this is not at all what CVSNT does?
Is there anyone here that knows how to hide or minimize the window a console
application runs in from the app itself? I use Delphi to program it of course...
/Bo
-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf
Of Tony Hoyle
Sent: den 12 mars 2004 11:44
To: cvsnt at cvsnt.org
Subject: Re: [cvsnt] script execution opens console window on server
Bo Berglund wrote:
> Is there any way that the script execution could be hidden by actions done
> by CVSNT itself? At least setting the execution window as minimized?
> Since the script itself calls a console application there is no way this can
> by itself minimize the window (because it does not even know of the window in
> the first place)....
The script is forced as hidden. CVSNT itself can't affect what happens when
the script itself executes external programs - it's up to the script writer to control that.
Tony
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
More information about the cvsnt
mailing list