Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: How do I start two programs without waiting for first one to be finished ?

by tye (Sage)
on Oct 17, 2000 at 10:12 UTC ( [id://37102]=note: print w/replies, xml ) Need Help??


in reply to How do I start two programs without waiting for first one to be finished ?

system( 1, "first" ); # Won't wait. system( "second" ); # Will wait.

This is could be very portable though it also still appears to be mostly undocumented. ):

Update: I posted this long ago and later learned that system(1,...) was never allowed to work except on Windows (and OS/2, for which it was originally written). Any documentation on it appears to be relegated to perlport.

     - tye
  • Comment on Re: How do I start two programs without waiting for first one to be finished ?
  • Download Code

Log In?
Username:
Password:

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

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

    No recent polls found