Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

win32 - closing the command prompt window

by jfroebe (Parson)
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:


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...


  • Comment on win32 - closing the command prompt window

Replies are listed 'Best First'.
Re: win32 - closing the command prompt window
by Plankton (Vicar) 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.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://340088]
Approved by bassplayer
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2018-03-20 05:02 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (247 votes). Check out past polls.