in reply to Re^8: Suppress windows cmd for system command in Perl
in thread Suppress windows cmd for system command in Perl

Try invoking the java program directly from the C++ program.

If you still get the pop-up; it means it is out of the control of Perl.

If you don't; you have a way to prevent the problem.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
I'm with torvalds on this Agile (and TDD) debunked I told'em LLVM was the way to go. But did they listen!
  • Comment on Re^9: Suppress windows cmd for system command in Perl

Replies are listed 'Best First'.
Re^10: Suppress windows cmd for system command in Perl
by Chaks (Initiate) on Jun 19, 2015 at 08:23 UTC
    As per the design of my application I cannot invoke the java command from C++ program it has to be in Perl script itself.
      As per the design of my application I cannot invoke the java command from C++ program it has to be in Perl script itself.

      The point was to try help you to isolate the cause of your problem.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.
      I'm with torvalds on this Agile (and TDD) debunked I told'em LLVM was the way to go. But did they listen!
        Thanks a lot BrowserUk. I tried using Win32::SetChildShowWindow(0); by integrating Win32 module in my application which restricted console window getting popped up. Later I used javaw instead of java in system command which doesn't open console window as suggested here http://stackoverflow.com/a/30936771/2064322