Hi,

I'm using par to compile my wxPerl based app on Windows 2000 under
ActiveState perl 5.8.3 build 809 and PAR-0.85. At various places in my
application I call a command line based app (using qx()) and process the
output. When I run 'perl script.pl' everything works as expected. After I
compile my app with 'pp --gui -l \perl\site\lib\auto\Wx\wxmsw24.dll -o
script.exe script.pl' every time I use qx A console window pops up on the
screen for the duration of the command. using system() has the same
problem. If I don't use --gui I get a console window at the beginning of
the app that stays around for the duration of my script (as expected) but
no per qx() console window.

Why the difference in behavior? I'd expect qx to behave exactly the same
when run under perl as when the resulting exe is run. This really impacts
the polish of my application and would like to find some way to avoid
this. I can't find anything in the archives about this but have a hard
time believing that no one else has ever had problems with this.

Thanks for your help and hard work creating PAR. I love being able to
create native executables in my favorite language!

james evans

Reply via email to