M
Mike
Hi,
I am using open3 to run an external program from my perl script.
Whenever the script recieves a Ctrl-C, it appaers the open pipes are
immediately shutdown. I have installed a signal handler for INT, which
sets a variable. I then immediately leave a while loop and try to send
(CLOSE\nEXIT\n") to the write handle for the open process. But it is
already closed.
Looking for any ideas to try and write the message before the process
is shudown.
Thanks
Mike
I am using open3 to run an external program from my perl script.
Whenever the script recieves a Ctrl-C, it appaers the open pipes are
immediately shutdown. I have installed a signal handler for INT, which
sets a variable. I then immediately leave a while loop and try to send
(CLOSE\nEXIT\n") to the write handle for the open process. But it is
already closed.
Looking for any ideas to try and write the message before the process
is shudown.
Thanks
Mike