Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 having an uproarious good time at the Monastery: (7)
As of 2015-07-03 16:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (54 votes), past polls