Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
There's more than one way to do things
 
PerlMonks  

win32 - closing the command prompt window

by jfroebe (Vicar)
on Mar 26, 2004 at 17:38 UTC ( #340088=perlquestion: print w/ replies, xml ) Need Help??
jfroebe has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I know with Perl Tk you can close the command prompt window, but what about without it? Specifically, I want to close the command prompt window (or hopefully never open one) while the perl script is still running. So far I haven't found a method to do so without using a gui front end module (TK, Wx, etc.)

Any clues? I know this has got to be extremely simple...

jason

Comment on win32 - closing the command prompt window
Re: win32 - closing the command prompt window
by Plankton (Priest) on Mar 26, 2004 at 17:57 UTC
    I assume you are using Activestate Perl, so you coudl start you script with wperl.exe Here's a good node writen by bart on the subject.

    Plankton: 1% Evil, 99% Hot Gas.
      thanks!!!
Re: win32 - closing the command prompt window
by gridlock (Novice) on Mar 26, 2004 at 19:41 UTC
    I'm assuming you are on a Windows Machine using Active State Perl from the Context of your post - - - - in the more recent versions, you are offered the use of wperl.exe in lieu of perl.exe - - - - - wperl.exe will suppress the command prompt window while executing your Perl Script.

    /Gridlock a.k.a. Debashis "Codito Ergo Sum"
Re: win32 - closing the command prompt window
by PERLscienceman (Curate) on Mar 27, 2004 at 02:36 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://340088]
Approved by bassplayer
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (16)
As of 2014-04-16 20:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (434 votes), past polls