in reply to spawning Perl scripts
If you're planning on launching processes and don't really need a web interface, it's worth considering perl Tk. OK user interface, fewer security issues, and no quirks introduced by apache.if (!defined( my $child_pid = fork())) { die "Cannot Fork: $!" } elsif ($child_pid) { print "</body></html>"; exit(0); } else { close(STDOUT); close(STDERR); close(STDIN); exec("$my_command"); exit(0); }
|
|---|