Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Parent process waiting for child process

by Corion (Pope)
on Oct 06, 2011 at 07:01 UTC ( #929948=note: print w/ replies, xml ) Need Help??


in reply to Parent process waiting for child process

The technique outlined in Watching Long Running Processes Through CGI should have both, the dissociation of the background process from the parent and a way of displaying the "Please hold the line" page.


Comment on Re: Parent process waiting for child process
Re^2: Parent process waiting for child process
by scorpio17 (Monsignor) on Oct 06, 2011 at 14:37 UTC
    I think the step most people overlook, is that when you use fork, then child process has to 'close STDOUT', in order to "break the connection" to the web server.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://929948]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2014-09-16 23:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (53 votes), past polls