in reply to Running a Perl script in the background from another Perl script
As far as option #3 is concerned, you need to exec the perl interpreter with the script as an argument. "C:\perl\perl.exe C:\my\frikkin\script.pl"
Option 2 is a dead end under windows.
I'm assuming the problem with #1 is the same as #3
NT or 2000 will allow you to set up your scripts as services that can be started and stopped from the command line. Use the Srvany.exe. Note, services can interact with users -or- the network, not both. If you need any more information on this, I have a procedure typed up.
~Hammy
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Running a Perl script in the background from another Perl script
by RayRay459 (Pilgrim) on Jul 10, 2001 at 22:53 UTC | |
|
Re: Re: Running a Perl script in the background from another Perl script
by bschmer (Friar) on Jul 11, 2001 at 01:50 UTC |