I've got a perl script running through apache, which I want to call another program but run it in the background.
I've tried
system('/path/to/script');
system('/path/to/script &');
exec('as above');
These work, but the webpage just hangs waiting for the process to finish, or in this case, until Apache times out after 90 seconds (on my machine). How do I just fire off a background process? The background process is not a perl script by the way.
Thanks
In reply to Creating a background task from the web by andy_7t
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |