rkg has asked for the wisdom of the Perl Monks concerning the following question:
I have bundled a script and some modules using PAR on WinXP (Home):
My app uses command line parameters:pp -o myapp.exe myapp.pl
I am getting flaky results. Sometimes when I runperl myapp.pl -in foo.txt -verbose -out bar.txt
ormyapp.exe -in foo.txt -out bax.txt
I just get back a dos command prompt -- nothing happens. Sometimes it runs, sometimes it just chooses not to do anything. No errors, just a dos prompt back w/o any program activity.myapp -in foo.txt -out bax.txt
I am unable to determine a pattern as to when it works and when it does not.
Anyone have ideas? Is this a PAR problem, or is a WinXp issue?
UPDATE
I have noticed that if the .exe runs once, then on subsequent tries it will run no more. It is as if something is getting cached somewhere... befuddled, help sought!
janitored by ybiC: Rename from "PAR" to facilitate better searching
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: PAR, commandline args, WinXP
by PodMaster (Abbot) on Nov 16, 2003 at 18:49 UTC | |
by rkg (Hermit) on Nov 16, 2003 at 20:02 UTC | |
|
Re: PAR, commandline args, WinXP
by rkg (Hermit) on Nov 16, 2003 at 20:27 UTC | |
by PodMaster (Abbot) on Nov 16, 2003 at 20:45 UTC | |
by chromatic (Archbishop) on Nov 17, 2003 at 01:28 UTC | |
|
Re: PAR, commandline args, WinXP
by rkg (Hermit) on Nov 17, 2003 at 00:53 UTC |