![]() |
|
P is for Practical | |
PerlMonks |
Re^3: Can't close pipe to invalid processby cLive ;-) (Prior) |
on Aug 31, 2015 at 15:04 UTC ( [id://1140543]=note: print w/replies, xml ) | Need Help?? |
It was the not finding "prince" that caused it to fail (pretty much what aitap said). Intuitively, I would think the open should fail if the executable being piped to can't be found, but that wasn't the case. I added a test for the print, and that appears to return true. So, what I have is:
I'm wondering if an assumption is made internally about piping to the executable until Perl receives a return value on closing?!?
In Section
Seekers of Perl Wisdom
|
|