Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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";

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?
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 cooling their heels in the Monastery: (5)
As of 2020-05-27 10:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (154 votes). Check out past polls.

    Notices?