[cvsnt] script execution opens console window on server

Bo Berglund bo.berglund at telia.com
Fri Mar 12 23:32:58 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.


On Fri, 12 Mar 2004 21:46:05 +0000, Tony Hoyle <tmh at nodomain.org>
wrote:

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

GOT IT!
CVSMailer is a console app by itself and when it gets called by CVSNT
it stays hidden just like you say.
But...
The first thing done when the first call is made is that CVSMailer
spawns off a detached process by starting itself with a different
command line switch. This process is responsible for actually sending
the email later. When I look at how it is created I see now that it
does not have SW_HIDE specified!
I have now corrected this so it will spawn off a hidden window.

Just made a test on a W2000 Server and on that one neither the
previous nor the new version showed a window.
But on an XP-Pro server the console shows up with the previous version
but not with the new one.
Strange that the operating system behaves differently, the CVSNT
service is set to allow desktop interaction on both and it is sunning
in the SYSTEM account on both...

But consider this solved!
I will assemble an updated setup file and post it tomorrow.



/Bo
(Bo Berglund, developer in Sweden)



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