in reply to How to hide the console window when GUI script is run.
See How to hide/inhibit the console window when launching a Perl script on Windows?