in reply to Re^6: Suppress windows cmd for system command in Perl
in thread Suppress windows cmd for system command in Perl
its a windows application.
I suspect that that the window you are seeing is being created when the C++ app spawns Perl; rather than when Perl calls system; and unless you have access to the sources of the C++ and can modify it; you may be stuck.
The only suggestion I have that might fix it without modifying the C++ app is to swap your call to system, for a call to Win32::Process, and try using the CREATE_NO_WINDOW flag.
If that doesn't work, see above.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Suppress windows cmd for system command in Perl
by marinersk (Priest) on Jun 18, 2015 at 20:39 UTC | |
|
Re^8: Suppress windows cmd for system command in Perl
by Chaks (Initiate) on Jun 18, 2015 at 19:59 UTC | |
by Discipulus (Canon) on Jun 18, 2015 at 20:23 UTC | |
by BrowserUk (Patriarch) on Jun 18, 2015 at 21:09 UTC | |
by Chaks (Initiate) on Jun 19, 2015 at 08:23 UTC | |
by BrowserUk (Patriarch) on Jun 19, 2015 at 11:24 UTC | |
by Chaks (Initiate) on Jun 19, 2015 at 15:48 UTC | |
|