in reply to open with pipe
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: open with pipe
by daverave (Scribe) on Jul 31, 2010 at 13:26 UTC |