in reply to Win32 wperl open Console when system

Secrets Hide console -> How to hide/inhibit the console window when launching a Perl script on Windows? use Win32 qw(SW_HIDE); Win32::SetChildShowWindow(SW_HIDE);
  • Comment on Re: Win32 wperl open Console when system

Replies are listed 'Best First'.
Re^2: Win32 wperl open Console when system
by fdesar (Beadle) on Jan 21, 2020 at 10:11 UTC

    Thanks for your answer, but it doesn answer my question at all !

    I'm already running wperl with no problem, except that I need to run a cmd command from it and it always opens an annoying console window just to launch the start command which is immediately exiting.

    This is this case I'm trying to solve...

      But the linked thread looks good to me.

      Did you look into it and try all listed options?

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

        Yes I did read the threads.

        But my problem is not hiding the console while running a Perl script : I do that by running wperl.

        I just want to run a windows command to display a PDF file FROM wperl that doesn't open a console but only the reader (ie. Internet Explorer).

      I just told you how to hide console and how i found that answer