Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Perl wait vs Unix ksh wait

by Fletch (Chancellor)
on Oct 31, 2007 at 18:32 UTC ( #648325=note: print w/ replies, xml ) Need Help??


in reply to Perl wait vs Unix ksh wait

Erm . . . since you're already using the shell to do job control rather than doing fork/exec yourself and since you're not on Wintendo you have a perfectly good shell with job control built in already why not just have the shell do the wait for you?

system( qq{ command1 & command2 & command3 & wait } );


Comment on Re: Perl wait vs Unix ksh wait
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://648325]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2015-07-03 21:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (56 votes), past polls