in reply to How to hide/inhibit the console window when launching a Perl script on Windows?
If you want to stop console windows from popping up when you call commands with backticks, try adding the following block to your script:
BEGIN { Win32::SetChildShowWindow(0) if defined &Win32::SetChildShowWindow; }
This answer was taken from ActiveState's Perl FAQ, and was pointed out by Eradicatore in supressing console with perl2exe and backticks.
|
|---|