Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

close command window when running tk script

by pg (Canon)
on Jul 17, 2005 at 22:38 UTC ( #475601=perlquestion: print w/ replies, xml ) Need Help??
pg has asked for the wisdom of the Perl Monks concerning the following question:

When I run Tk GUI script, I would like the command window closed. That is the window where I type "perl -w blah.pl".

Doesn't matter whether involve coding, preferablely no coding.

I am looking for something like javaw in Java.

Comment on close command window when running tk script
Re: close command window when running tk script
by Errto (Vicar) on Jul 17, 2005 at 23:36 UTC
    If you're on Windows you can use wperl, which does exactly what you want. On Unix you can just run perl as a background process.

      wperl is what I wanted. Thanks!

        I use wperl as well but just FYI there are some other solutions- What About the Console Window?, I can't comment on their veracity however :)

        --
        Murray Barton
        Do not seek to follow in the footsteps of the wise. Seek what they sought. -Basho

Re: close command window when running tk script
by GrandFather (Cardinal) on Jul 17, 2005 at 23:40 UTC

    In Windows I often use shortcuts to launch Tk apps so I can drag and drop onto them. You can hide the window by setting the shortcut property "Run:" to "Minimized".


    Perl is Huffman encoded by design.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2013-05-25 09:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (519 votes), past polls