in reply to Suppressing Console in PerlApp Script

Add this line to the top of your PerlTray application:
Win32::SetChildShowWindow(0) if defined &Win32::SetChildShowWindow +;
It should hide all applications started by system() if your version of Perl includes Win32::SetChildShowWindow(). It definitely is included in ActivePerl build 633 and later.

Replies are listed 'Best First'.
Re: Re: Suppressing Console in PerlApp Script
by westhills (Initiate) on May 07, 2003 at 19:42 UTC
    EXCELLENT!!!
    For the record, build 631 doesn't have it. I upgraded to 635 and it works just fine without bringing up the console window.
    Thank YOU!
    --Mark in West Hills
Re^2: Suppressing Console in PerlApp Script
by Anonymous Monk on Jul 06, 2008 at 06:57 UTC
    Excellent! It also works with a standard app and not compiled by the way ;)