in reply to Net::SSH2 some programs launch but can't get my script to run
Windows doesn't know how to run a batch file normally. That's handled by the command shell. So if you change your command to something like cmd /c c:/foo/bar/myScript.bat you'll likely have better luck.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::SSH2 some programs launch but can't get my script to run
by Porax (Acolyte) on Oct 17, 2014 at 13:04 UTC | |
by roboticus (Chancellor) on Oct 17, 2014 at 17:52 UTC | |
by Porax (Acolyte) on Oct 21, 2014 at 08:03 UTC | |
by roboticus (Chancellor) on Oct 21, 2014 at 14:17 UTC |