welle has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks
I am not very good in Perl, so maybe my problem is trivial... Which is the best way to transform under Windows the following system() command in a way I can integrate input/output as simple variables?
system ("my_program.exe my_parameter_file.par -option1 -option2 \"inpu +t.txt\" \"output.txt\"" );
I'd like to pass input.txt as a variable and get output.txt as a variable to process it in my script. I have read this but could not come out with a functioning solution. Any advice would be appreciated.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: external program variables
by Corion (Patriarch) on Jun 02, 2013 at 19:48 UTC | |
by welle (Beadle) on Jun 02, 2013 at 20:10 UTC | |
Re: external program variables
by Laurent_R (Canon) on Jun 02, 2013 at 20:53 UTC | |
Re: external program variables
by Jim (Curate) on Jun 02, 2013 at 21:32 UTC | |
Re: external program variables
by soonix (Canon) on Jun 03, 2013 at 14:35 UTC | |
by welle (Beadle) on Jun 04, 2013 at 11:43 UTC |
Back to
Seekers of Perl Wisdom