in reply to Suppress windows cmd for system command in Perl

I think you got an answer ... anyway its not hard to clue up Chaks :)

hide command prompt -> How to hide the command prompt open duing the execution of system command?

says use Win32::SetChildShowWindow(0);

  • Comment on Re: Suppress windows cmd for system command in Perl

Replies are listed 'Best First'.
Re^2: Suppress windows cmd for system command in Perl
by Chaks (Initiate) on Jun 18, 2015 at 09:37 UTC
    I tried using that but it did not help. Still I am getting the pop-up when system command is called. Also in my application I have some restriction to include new module like Win32. So I am looking for some other ways to remove the pop-up. If it doesn't help and including Win32 is the only way and I have the working model for it then I can take on this further.

      I tried using that but it did not help....

      No wonder Chaks, you left out critical details twice, took until this to reveal you're calling perl from c++

      So here is what you do, in c++ program, use SetChildShowWindow(0), so that when the c++ program starts programs there is no popup