The problem is, that lighttpd buffers all output until all process terminate.
Have you tried to flush the output stream?
This should do the trick:
sub flush { my $fh = select( STDOUT ); my $hot = $|; $| = 1; print STDOUT ''; $| = $hot; select( $fh ); return; }
In reply to Re: Background process with perl and lighttpd
by jau
in thread Background process with perl and lighttpd
by MonsieurBon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |