hdjoe has asked for the wisdom of the Perl Monks concerning the following question:
to start a build on the local system.use base qw(Net::Server); ... ... MyPackage->run(port => 2000, log_file => ser.log, log_level => 4); and then it does: system("start build.pl");
If you run this as a stand-a-lone process it will open up a msdos window and runs the build.pl program in it and you see the output of the build.pl script as it goes through the build process.
I then use the serany.exe program to run this program as a service. This works for us as I can now remotely talk to the system using tcp and do not have to log into the system to do a build.
The problem is that when we run this as a service the program is disconected from the console and we no longer get a window that pops up on the conosle.
Is there anyway we can change/replace the "system()" command so that a window will open up on the console with the build output?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Windows service Question
by redgreen (Priest) on Oct 01, 2009 at 21:01 UTC | |
Re: Windows service Question
by bv (Friar) on Oct 02, 2009 at 01:12 UTC |