http://www.perlmonks.org?node_id=951622


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.