Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

win32 - closing the command prompt window

by jfroebe (Parson)
on Mar 26, 2004 at 17:38 UTC ( [id://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

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.
      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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-25 19:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found