Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: stop pipe

by samtregar (Abbot)
on Mar 29, 2009 at 18:22 UTC ( [id://754018] : note . print w/replies, xml ) Need Help??


in reply to stop pipe

Instead of closing the filehandle, how about killing the subprocess with kill()? I have no idea if that works on Windows but it's what I'd try if I had this problem on Linux.

-sam

Replies are listed 'Best First'.
Re^2: stop pipe
by michbach (Sexton) on Mar 29, 2009 at 19:35 UTC
    tx, samtregar but "closing the filehandle" was only my first idea to open and close that pipe as i want only by clicking on the buttons. But it dont seems so easy. I can open the pipe easy but its not possible in this way to close the process... It seems to be a much more complex process :-(