in reply to Background process with perl and lighttpd
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 Section
Seekers of Perl Wisdom