Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Answer: How to hide/inhibit the console window when launching a Perl script on Windows?

by jdporter (Canon)
on Mar 13, 2006 at 15:15 UTC ( #536267=categorized answer: print w/replies, xml ) Need Help??

Q&A > GUI Programming > How to hide/inhibit the console window when launching a Perl script on Windows? - Answer contributed by jdporter

Using Win32::Process::Create, You could have a "starter" script which launches your script as a detached process:
Win32::Process::Create( $Obj, "$perl_path/perl.exe", "perl test.pl", 0, DETACHED_PROCESS, "$hs_path/scripts" ) or die ErrorReport();

  • Comment on Answer: How to hide/inhibit the console window when launching a Perl script on Windows?
  • Download Code
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and snow settles gently...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2016-12-05 05:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (72 votes). Check out past polls.