enrgyxprt has asked for the wisdom of the Perl Monks concerning the following question:
Because Im working on a production pc, I cant develop or troubleshoot my last step without fear. So, I defer to the gods... I have working from cmd
START "" "C:\Users\bla-bla\myexe.exe" "C:\Users\Glenn\Desktop\test.blt +"
and need to have my.pl do the same.
#my.pl $myexe="C:/Users/bla-bla/myexe.exe"; $myfile="C:/Users/Glenn/Desktop/test.blt"; exec ('$myexe $myfile');
But that only opens a small cmd window, and doesn't launch $myexe. I didnt expect it to work, but tried
... exec '""','$myexe','$myfile';
And realize Im out of my league. Any ideas ?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl equiv to cmd start
by AnomalousMonk (Archbishop) on Jan 17, 2017 at 19:20 UTC | |
by enrgyxprt (Acolyte) on Jan 17, 2017 at 20:16 UTC | |
by soonix (Chancellor) on Jan 18, 2017 at 13:49 UTC | |
by haukex (Archbishop) on Jan 18, 2017 at 14:08 UTC | |
by soonix (Chancellor) on Jan 18, 2017 at 15:32 UTC | |
| |
|
Re: perl out from batch shell
by hippo (Archbishop) on Jan 17, 2017 at 13:55 UTC |