Question about pipes and exit codes
William Atkinson
CWA at DISC.com
Wed Nov 17 09:45:33 CST 1999
Greetings,
Forgive and politely correct me if this is the wrong list to post to.
I'm having trouble getting the exit status of a process at the end of a pipe
created by open2. It seems that all I get is notification that the pipe
broke.
One idea that we came up with was to have a shell script run the desired
program, catch its exit status and return it as the last string. The
problem with this is that I was hoping for a purely perl based solution due
to cross platform portability issues.
Any help would be appreciated.
Thanks.
Chip Atkinson
chip at disc.com
More information about the Boulder-pm
mailing list