in reply to Backticks with no cmd window from perltray

See this article from Jenda, specifically the advice under the heading Subprocesses, which basically says add:

BEGIN { Win32::SetChildShowWindow(0) if defined &Win32::SetChildShowWindow };

to your GUI scripts, to cause child processes to be created with a hidden console.

After that, using backticks to run netstat works fine.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^2: Backticks with no cmd window from perltray
by Anonymous Monk on Nov 11, 2005 at 15:08 UTC
    Thanks everyone for your help!
    I checked the monitors available with the PerfMon library, but I'm looking for total bytes transferred, rather than bytes/second.
    The advice from the Jenda article, however, was exactly what I needed. Everything works perfectly now.
    Thank you!
    -- John