in reply to Weird open() return code in pipe mode
Given that the command's stdout is being redirected (whether to /dev/null or any other file), nothing would be left for delivery to the pipe. Were you expecting perl DWIMery to do something "coherent" in this case?open PIPE, "pfrrzt >/dev/null |" or die "failed!";
I think if there were an executable command called "pfrrzt" in your PATH, the results would still not be what you were hoping for.
|
|---|