in reply to Re^3: exec command taking ages
in thread exec command taking ages
In some more detail, the undelying problem is that the implicitly forked subprocess running under nohup is getting duplicates of the file handles of the parent process (your main script) at the time of the fork, and all "instances" of those file handles - which are connected via pipes to the web server - will need to be closed (or re-opened to elsewhere), before the web server considers the CGI job completed.
-The other Anonymous Monk
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: exec command taking ages
by pmcilfatrick (Initiate) on Nov 25, 2010 at 13:16 UTC |