Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Hiding DOS windows that accompany TK

by TGI (Parson)
on Dec 08, 2008 at 19:27 UTC ( #729014=note: print w/replies, xml ) Need Help??


in reply to Re: Hiding DOS windows that accompany TK
in thread Hiding DOS windows that accompany TK

wperl is the correct answer. It runs perl as a "WINDOWS" subsystem application. Normally perl runs as a "CONSOLE" subsystem application.

Without a console, your perl script will not have a proper STDIN, STDOUT, or STDERR. Perl does the best it can to paper over the problems, but doing IO redirection with child processes can be troublesome.

exetype.bat in the perl/bin directory converts the console version of perl into a WINDOWS subsystem app.

See the MSDN article on the SUBSYSTEM linker option for MSVC for a tiny bit of info.


TGI says moo

  • Comment on Re^2: Hiding DOS windows that accompany TK

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://729014]
help
Chatterbox?
[Corion]: Huh. I wasn't aware that you cannot segregate Python 2 and Python 3 modules... Hopefully Perl 6 module use C6AN and thus avoid the problem...
[hippo]: I very much hope so.
[moritz]: there are already some (very few) Perl 6 modules on CPAN, but in a way that the p5 indexer avoids them
[hippo]: It's confusing enough to have the Perl6:: namespace which isn't for Perl6 but for features from that ported into Perl.

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2017-01-24 09:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (203 votes). Check out past polls.