Dave Smith wrote:
Dave Smith wrote:
John David Anderson wrote:
You may not need to fork. Try appending an ampersand to the end of
the command:
$ php doReportScript.php &
That will only work if you're executing it in a shell (like bash). If
you pass the "&" to php's exec(), for example, it will not work as
you expect.
Woops. I stand corrected:
http://us2.php.net/manual/en/function.exec.php#59698
So, you're saying that the PHP exec command executes as NOBODY so it may
not have rights to execute? Otherwise, I'm not sure why "&" seems to
have no effect in my test.
-- Ken
_______________________________________________
UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net