Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^5: Can't close pipe to invalid process

by aitap (Curate)
on Aug 31, 2015 at 12:34 UTC ( [id://1140527] : note . print w/replies, xml ) Need Help??


in reply to Re^4: Can't close pipe to invalid process
in thread Can't close pipe to invalid process

I was talking about prince. Since (as OP found out) Jenkins had cleared PATH environment variable, and (supposedly) there was no prince executable in the current directory (or the script was running on a UNIX-like system where executables are not run from current directory unless $PATH contains .), OP thought that open($fh, "|-", "prince ...") should have failed, but it didn't because there was a $Config{sh} between Perl and prince in the process tree.