Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 taking refuge in the Monastery: (8)
As of 2014-12-18 05:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (42 votes), past polls