Re: Executing System Program

"Wagner, Chris (GEAE, CBTS)" <[email protected]> Tue, 18 Dec 2007 21:07:19 -0500
Newsgroups gmane.comp.db.mysql.perl
Organization GE Aircraft Engines \Cincinnati Bell
Message-ID <[email protected]>
I would go with the good old fork() and exec() method.
e.g.
if (fork()) {
1;
}
else {
exec("do something");
}

Greg Meckes wrote:
> 
> Greetings, I have the following task:
> 
> I have to run a Perl script to run spawn multiple processes on a Linux server. The issue is that
> each process is huge and may take a while to run.
> 
> I simply want my program to run, then start process 1 and let it run in the background, then
> immediately start process 2 etc.


-- 
Chris Wagner
CBTS
GE Aircraft Engines
[email protected]

-- 
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/[email protected]