Beefy Boxes and Bandwidth Generously Provided by pair Networks BBQ
XP is just a number
 
PerlMonks  

Re: system() does not wait

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

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 15: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
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.