Re: Make a script to run multiple scripts

2011-12-03 Thread Peter Scott
On Thu, 01 Dec 2011 12:38:56 -0500, Ryan.Barracuda wrote: > I have 7 perl scripts that I want to run simultaneously from the command > line with the possibility of growing this number. I'm pretty new to > perl, so thought in the mean time it would be a good idea to create a > perl script to run mul

Re: Make a script to run multiple scripts

2011-12-01 Thread Shlomi Fish
Hello Julian, On Thu, 1 Dec 2011 12:15:05 -0600 Julian Inesta wrote: > Ryan, > > You could do it like this. > > system("perl attachment.pl"); > system("perl attachment2.pl"); > > system("perl attachment7.pl"); > 1. This will not do what the original poster asked for. It will run the scr

Re: Make a script to run multiple scripts

2011-12-01 Thread Zachary Zebrowski
Or: use Proc::Background; my $x = Proc::Background->new("perl attachment.pl"); # Or correct args to launch script $x->wait(); # Wait for process to exit. More methods available. my $z = Proc::Background->new("perl attachmentN.pl"); $z->wait(); ... On Thu, Dec 1, 2011 at 1:25 PM, Shlomi Fish wr

Re: Make a script to run multiple scripts

2011-12-01 Thread Shlomi Fish
Hi Ryan, On Thu, 01 Dec 2011 12:38:56 -0500 "Ryan.Barracuda" wrote: > Hi all, > > I have 7 perl scripts that I want to run simultaneously from the command > line with the possibility of growing this number. I'm pretty new to perl, so > thought in the mean time it would be a good idea to create

Re: Make a script to run multiple scripts

2011-12-01 Thread Julian Inesta
Ryan, You could do it like this. system("perl attachment.pl"); system("perl attachment2.pl"); system("perl attachment7.pl"); On Thu, Dec 1, 2011 at 11:38 AM, Ryan.Barracuda wrote: > Hi all, > > I have 7 perl scripts that I want to run simultaneously from the command > line with the poss