veeruch has asked for the wisdom of the Perl Monks concerning the following question:
While executing the above code, the second line returns '/home/john' instead of '/home/john/test'.my( $success, $error_code, $full_buf) = run( command => "cd /home/john +/test", verbose => 0 ); ($success, $error_code, $full_buf) = run( command => "pwd", verbose => + 0 );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: I am unable to execute series of command through IPC::Cmd
by Joost (Canon) on Dec 14, 2006 at 15:18 UTC | |
by veeruch (Sexton) on Dec 14, 2006 at 15:44 UTC |