You want to close stdout in the subprocess. Try
There are many other ways to do this, too - I'd probably perform my own fork, and in the child I'd close STDOUT, and then exec(qw(blah blah blah)), but I prefer the list version of exec and system over the scalar version.system("blah blah blah > /dev/null &");
In reply to Re: CGI and System
by Tanktalus
in thread CGI and System
by perlknight
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |