Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: stop pipe

by samtregar (Abbot)
on Mar 29, 2009 at 18:22 UTC ( #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 :-(

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://754018]
help
Chatterbox?
[marto]: running late today, get to work and people are just sitting around. "can't delete file, quota exceeded"
[Corion]: marto: Oy :-/
[Corion]: Ah, it's only "quota exceeded", not "filesystem full", so it's "merely" an administrative act to up the FS quota resp. inode quota
[Corion]: I've been on databases where I couldn't drop a table or delete rows because the DB was full. Not so much fun...
[marto]: meh, the admins are lazy, I just piped null to some old large log files, problem solved

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (13)
As of 2017-01-24 09:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (203 votes). Check out past polls.