|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: IO::Pipe hangsby BrowserUk (Pope) |
| on Sep 20, 2012 at 19:14 UTC ( #994735=note: print w/ replies, xml ) | Need Help?? |
|
Because you haven't emptied the pipe, which means that tasklist is blocked waiting to finish writing to it. Just closing the pipe won't allow tasklist to end; the pipe won't close until it does. Deadlock. The answer is to empty the pipe before closing it:
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||