The problem is that sometime (not consistent) I get the warning from the close function above, even if the procedure succeeded, anyone for the rescue?open(CMD, "$command 2>&1 |") or warn "Can't open $command for reading: + $!"; my @cmdOutput = <CMD>; close(CMD) or warn "Can't close $command: $!/$?";
Title edit by tye
In reply to Close() sometimes fails after open() pipe from command by hotshot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |