note
cLive ;-)
<p>It was the not finding "prince" that caused it to fail (pretty much what aitap said).</p>
<p>Intuitively, I would think the open should fail if the executable being piped to can't be found, but that wasn't the case.</p>
<p>I added a test for the print, and that appears to return true.</p>
<p>So, what I have is:</p>
<code>
ok 3 - Opened pipe
ok 4 - Piped content to prince
not ok 5 - Closed pipe
</code>
<p>I'm wondering if an assumption is made internally about piping to the executable until Perl receives a return value on closing?!?</p>
1140381
1140405