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

Hi, I create PERL scripts in windows environment and later convert them to standalone executable using PERL2EXE. But when I run the executable, the MS-DOS prompt flashes for a couple of seconds on the screen and vanishes. Is there a way through which I can supress the display of DOS window during the execution? Thanks in advance.

  • Comment on Supressing MS-Dos Window when running a PERL exe

Replies are listed 'Best First'.
Re: Supressing MS-Dos Window when running a PERL exe
by marto (Cardinal) on Jun 20, 2008 at 09:13 UTC
      In addition to what marto said, there's one bit of difference (literally) between a Windows program and a console (AKA "DOS") program. And ActivePerl, for one, includes a script to flip that bit: exetype. This is how wperl.exe is created out of plain perl.exe

      This is what perl2exe's own -gui option (which at least you used to have to pay extra for) does.