in reply to Re: Net::OpenSSH can't change working directory
in thread Net::OpenSSH can't change working directory
I double checked the spelling to make sure it wasn't that, copy/paste style. Same command works by hand. Could it be because I need to quote the command? I have a command list that I loop through gathering the result outputmy ($out,$err) = $self->{connected}->capture2($params->{cmd});
cd /home/sitest/Scripts..... tclsh test_script.tcl ./check_network.pl
|
|---|