Posted on 2008-01-10 04:55:34-08 by sameerbhasin
how to get an error message when channel exec function returns no ouput
Hey Is any one their who can tell that when a command is executed by
$channel->exec('cmd');
If that command brings out and error output, how to catch that error message and print on the console. Thanks & Regards Sameer Bhasin
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.