I don't fully understand is the behavior of such open. Obviously, open is not blocking so the program continues. while the command output is continued being read. If I add
I actually wait for the command to finsih, right?while (<$out>) { print; }
But if I don't, is there a way to check further down my program whether the command has finished (and if not, wait for it to finish)? Thanks, Dave
In reply to open with pipe by daverave
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |