Turn off buffering:
Try backticks:$| = 1;
Redirect system()'s stdout and stderr to /dev/null:my $output = `touch /usr/tmp/bogus`;
Good luck.system("touch /usr/tmp/bogus > /dev/null 2>&1");
In reply to Re: system() and malformed headers
by Anonymous Monk
in thread system() and malformed headers
by dnahman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |