1

Possible Duplicate:
Call another PHP script and return control to user before the other script completes

Hello,

I'm executing this command in php:

exec('php /path/to/script.php one_argument_passed &");

But it's not executing it in the background. Is there a setting or something in php I need to do to make this work?

Community
  • 1
  • 1
Joe
  • 2,223
  • 4
  • 18
  • 13

1 Answers1

0

Maybe you have a permissions problem.

Janus Troelsen
  • 20,267
  • 14
  • 135
  • 196
  • This answer is wrong; the only difference between `exec()` and `shell_exec()` is the way the output of the program is returned. – Ilmari Karonen Sep 18 '12 at 12:56