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

Re: system() does not wait

by ikegami (Patriarch)
on Nov 30, 2005 at 20:42 UTC ( #513095=note: print w/replies, xml ) Need Help??


in reply to system() does not wait

system normally waits for the child process to finish, but there are exceptions.
  • If you do system "... &" on unix, system will return without waiting for the child process to finish.
  • If you do system -1, ... on Windows, system will return without waiting for the child process to finish.
  • Some application launch another application and exit immediately (like the Windows command start), so system would return immediately too.
  • Running a windowed (as opposed to console) application in Windows will also cause system to return immediately (IIRC).

Replies are listed 'Best First'.
Re^2: system() does not wait
by cbolcato (Novice) on Nov 30, 2005 at 20:45 UTC
    I'm running on a Linux machine and there is no "..&"

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2022-01-20 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (56 votes). Check out past polls.

    Notices?