Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: exit status of a remote programby btrott (Parson) |
on Jun 17, 2001 at 06:28 UTC ( [id://89122]=note: print w/replies, xml ) | Need Help?? |
If you can use ssh instead of rsh (which maybe you should be
doing anyway :), you can use Net::SSH::Perl, which
has a method to execute a command remotely and get back
the stdout, stderr, and exit status.
Exit status of remote command is in $exit.
In Section
Seekers of Perl Wisdom
|
|