Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 &')?

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 studying the Monastery: (11)
As of 2016-06-29 18:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (385 votes). Check out past polls.