Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: How to hide system(); output.

by crashtest (Curate)
on Jan 30, 2010 at 01:31 UTC ( #820442=note: print w/ replies, xml ) Need Help??


in reply to Re: How to hide system(); output.
in thread How to hide system(); output.

Maybe the default "cmd.exe" (or whatever gets used on windows to run commands via the system() call) provides some equivalent sort of idiom, if you know how to look that up...

The equivalent on Windows (at least my cmd.exe) would be:

$command = "ipconfig >nul 2>1";


Comment on Re^2: How to hide system(); output.
Select or Download Code
Re^3: How to hide system(); output.
by bcens (Novice) on Jan 30, 2010 at 02:11 UTC
    Each suggestion worked equally. Thank you both for the fast help.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2014-08-31 01:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls