in reply to Re^2: Background process with perl and lighttpd
in thread Background process with perl and lighttpd
flushing the output does not work...
The only thing that works is closing STDIN, STDOUT and STDERR. But then the script stops!
This is what I have:
my $q = new CGI; my $session = CGI::Session->load($q); my $tmpfile = $q->upload('upfile'); my $filename = $q->param('upfile'); print $q->redirect('showProgress.cgi'); close STDOUT; close STDIN; close STDERR; # <-- script stops here! append_file( 'debug', "start\n" );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Background process with perl and lighttpd
by Anonymous Monk on Jun 03, 2010 at 12:31 UTC | |
by MonsieurBon (Initiate) on Jun 03, 2010 at 13:44 UTC | |
by Anonymous Monk on Jun 03, 2010 at 15:28 UTC |