Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Perl wait vs Unix ksh wait

by mifflin (Curate)
on Oct 31, 2007 at 17:40 UTC ( [id://648312]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    command1 &
    command2 &
    command3 &
    
    wait # wait for commands 1-3 to finish
    
  2. or download this
    system("command1 &");
    system("command2 &");
    system("command3 &");
    
    wait; # doesn't behave like the unix wait :(
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://648312]
Approved by jettero
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-04-19 10:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found