[Israel.pm] system() platform dependant issue

Levenglick Dov-RM07994 dovl at freescale.com
Tue Sep 5 03:52:46 PDT 2006

This runs very nicely on Linux but returns "sh: /dev/null: bad number"
on Solaris. Can anyone explain?
Can anyone give me a robust solution that will run on all shells on all


$cmd = 'echo blaaaa >& /dev/null';

Best Regards,
Dov Levenglick
DSP SoC System and Applications Engineer,
Network and Computing Systems Group
Freescale Semiconductor Israel
Tel. +972-9-952-2804
The information contained in this email is classified as:
[x] Freescale General Business Information
[ ] Freescale Internal Use Only
[ ] Freescale Confidential Proprietary
[ ] Personal Memorandum

More information about the Perl mailing list