Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: Hiding DOS windows that accompany TKby TGI (Parson) |
on Dec 08, 2008 at 19:27 UTC ( [id://729014]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|