Perl: the Markov chain saw | |
PerlMonks |
Re^3: Net::SSH2 some programs launch but can't get my script to runby syphilis (Archbishop) |
on Oct 21, 2014 at 08:43 UTC ( [id://1104537]=note: print w/replies, xml ) | Need Help?? |
You're not really doing anything to create a cmd.exe console and keep it alive.
When I double click on 'try.bat' I get a cmd.exe console pop up that contains: I think you should be able to make use of that approach, too. It's the "/k" switch that keeps the cmd.exe console alive. If you use "/c" instead, then the cmd.exe console closes as soon as the perl script has finished executing. (The "@echo off" and "@echo on" merely conceal the output of the "set PATH" command - you probably already know that.) Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|