in reply to How to hide window with Win32:API?

You could also simply use a "starter" script to launch your process as a detached process:
Win32::Process::Create($Obj, $perl_path . "/perl.exe","perl test.pl",0 +,DETACHED_PROCESS,$hs_path . "/scripts") || die ErrorReport();

-Nitrox