See the return value of open. I think on some operating systems, you can check with kill whether a process still exists under that pid:
my $pid = open ...; kill 0 => $pid;
Also see perlport, as mentioned in kill.
In reply to Re: open with pipe
by Corion
in thread open with pipe
by daverave
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |