Re: getting error from backtick shell execution

2005-09-07 Thread Jay Savage
On 9/7/05, Frank Geueke, III <[EMAIL PROTECTED]> wrote: > Hi Everyone. I've been reading the list for the past > few days now and I have something maybe worth asking. > What I am wondering about at the moment is how to get > a possible error message from a command that is run in > the shell. i.e.

getting error from backtick shell execution

2005-09-07 Thread Frank Geueke, III
Hi Everyone. I've been reading the list for the past few days now and I have something maybe worth asking. What I am wondering about at the moment is how to get a possible error message from a command that is run in the shell. i.e. my $cmd = "sudo -u userlogin " . "/usr/bin/ssh -l $cnrip_user