Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: Killing process group run with IPC::Open3

by pm_sanchay (Initiate)
on Feb 03, 2012 at 07:49 UTC ( #951622=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Killing process group run with IPC::Open3
in thread Killing process group run with IPC::Open3

My bad for using pre. I will be more careful from now.

Yes, I meant "child can't read from the parent's STDIN".

setsid()

does appear to work. But it has another issue - I don't understand what happens if a KILL signal is sent to parent (example cntl-c)? Will have to understand what setsid does.

Thanks for your help.


Comment on Re^4: Killing process group run with IPC::Open3
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2015-07-03 20:45 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 (56 votes), past polls