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

Re^3: is it possible to get PID for a command running background?

by ikegami (Pope)
on Dec 11, 2013 at 15:12 UTC ( #1066633=note: print w/ replies, xml ) Need Help??


in reply to Re^2: is it possible to get PID for a command running background?
in thread is it possible to get PID for a command running background?

You missed the point.

The system-launched process ends before system returns, so why would you want the PID of a process that no longer exists.

You don't want the PID of the process launched by system; you want the PID of some process launched by the system-launched process.

What would that be for system('foo & bar &')?


Comment on Re^3: is it possible to get PID for a command running background?
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (10)
As of 2014-10-20 21:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (92 votes), past polls