portable /dev/null ?
- From: Larry <larry.grant.dc@xxxxxxxxx>
- Date: Fri, 29 Jun 2007 07:57:54 -0700
I want to run an external command using "system" but discard its
standard output. I know under *nix I could do:
system 'myCmd > /dev/null';
and Windows:
system 'myCmd > nul';
but is there a more portable way to do that?
.
- Follow-Ups:
- Re: portable /dev/null ?
- From: Sisyphus
- Re: portable /dev/null ?
- From: Paul Lalli
- Re: portable /dev/null ?
- From: Jürgen Exner
- Re: portable /dev/null ?
- Prev by Date: Re: Kicking off multiple processes at once instead of waiting....
- Next by Date: Re: portable /dev/null ?
- Previous by thread: Simple fork examples
- Next by thread: Re: portable /dev/null ?
- Index(es):
Relevant Pages
|
|