[tpm] IO::Handle not catching errors
Madison Kelly
linux at alteeve.com
Tue May 27 05:46:56 PDT 2008
Indy Singh wrote:
> If the shell process exits with a non-zero status, the return value will
> be found in $?. You might need to call close first before you check $?.
>
> A non-zero return code will not be an an IO error. IO errors are not
> very likely and I'm not sure if it is useful to worry about them.
>
> An error in starting the shell process will be caught by the open call.
>
> Indy Singh
Doh!
I went at this looking for too complex a solution. I will check that
as soon as I get into the office in a couple hours and report back to
the list "for the record". Thanks!
Madi
More information about the toronto-pm
mailing list