in reply to CGI and System
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 &");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CGI and System
by perlknight (Pilgrim) on Feb 18, 2005 at 18:46 UTC | |
by tbone1 (Monsignor) on Feb 18, 2005 at 20:02 UTC | |
by perlknight (Pilgrim) on Feb 18, 2005 at 20:25 UTC | |
by Tanktalus (Canon) on Feb 20, 2005 at 17:09 UTC |