Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I've noticed when creating executables for windows using PAR I see a second process for the *.exe file in the task manager (assuming this is the console window) Does anyone know of a way to avoid this? perlapp from ActiveState is able to do this. I've tried using the wperl in place of perl when building the exe and also using the --gui option.

Any ideas?

Replies are listed 'Best First'.
Re: PAR and console window on Win32
by marto (Cardinal) on Nov 06, 2006 at 18:08 UTC
      I have and this is exactly what I'm doing, and I've also tried the following:
      pp --gui --icon test.ico -o file.exe file.pl tkpp --gui --icon test.ico -o file.exe file.pl pp --gui -o file.exe file.pl tkpp --gui -o file.exe file.pl

      I never see the console window but I do see a second PID with the same name in the task manager and I assumed it was a hidden console window.

Re: PAR and console window on Win32
by Anonymous Monk on Nov 08, 2006 at 09:08 UTC
    Does anyone know of a way to avoid this?

    Avoid using PAR, or fix PAR.