Fork

software development

#1

I need to kick off a php script that is going to take a LONG time from a cgi script. I can’t wait for it to return. How can I do this without using pcntl_fork() ? That doesn’t seem to be compiled.

edit* I can use AJAX for this, but I wanted to avoid that :frowning:

nevermind, fixed, fyi
changed

exec(“php script.php arg1”);

to

exec(“php script.php arg > /dev/null &”);