Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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";

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://820442]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2018-01-18 08:53 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (208 votes). Check out past polls.