in reply to Re^3: Background process with perl and lighttpd
in thread Background process with perl and lighttpd

This is the pattern Watching long processes through CGI (Aug 02)
  • Comment on Re^4: Background process with perl and lighttpd

Replies are listed 'Best First'.
Re^5: Background process with perl and lighttpd
by MonsieurBon (Initiate) on Jun 03, 2010 at 13:44 UTC

    Thx alot, this helped!

    What is this for?

    unless (open F, "-|") { open STDERR, ">&=1"; }
      We'll do this with a pipe-open which includes an implicit fork, in line 37. The grandchild process merges STDERR to STDOUT, and then executes traceroute, passing it the validated host parameter from before.
      Also, perldoc -f open