Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 lurking in the Monastery: (12)
As of 2015-01-28 22:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (226 votes), past polls