Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Backticks with no cmd window from perltray

by BrowserUk (Patriarch)
on Nov 11, 2005 at 04:48 UTC ( [id://507627]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://507627]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-04-23 12:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found