Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Hiding programs launched within wperl'd script

by bravenmd (Sexton)
on Jan 18, 2006 at 17:45 UTC ( [id://524019]=note: print w/replies, xml ) Need Help??


in reply to Hiding programs launched within wperl'd script

To answer the first question try:
 use Win32::Process;
 Win32::Process::Create($ProcessObj,"C:\\windows\\system32\\tlist.exe","tlist",0,"CREATE_NO_WINDOW,".")|| die ErrorReport();

  • Comment on Re: Hiding programs launched within wperl'd script

Replies are listed 'Best First'.
Re^2: Hiding programs launched within wperl'd script
by mdog (Pilgrim) on Jan 18, 2006 at 18:11 UTC
    bravenmd --

    I was about to say I couldn't get tlist to spawn without a window but this works! Other users, remove the errant double quote before CREATE_NO_WINDOW. Still, do you know how to capture the output of tlist from this, though?

    Thanks for all the great help, monks!!! I love perlmonks (the site, that is)!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-19 20:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found