![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re^4: Can't close pipe to invalid processby BrowserUk (Patriarch) |
on Aug 31, 2015 at 16:25 UTC ( [id://1140553]=note: print w/replies, xml ) | Need Help?? |
I'm wondering if an assumption is made internally about piping to the executable until Perl receives a return value on closing?!? Looking back at what you're sending down the pipe; it is way less than the typical 4kb buffer size; which means nothing will be sent until you try to close, at which point it will attempt to flush the buffer through and it is only at that point that the broken pipe will be discovered. You could verify that conjecture by trying to print more data to the pipe:
My guess is that will fail at the 4th or 5th iteration with "Broken pipe". 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". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.
I'm with torvalds on this Agile (and TDD) debunked I told'em LLVM was the way to go. But did they listen!
In Section
Seekers of Perl Wisdom
|
|