Posted by NC on 10/09/84 11:27
changereality@gmail.com wrote:
>
> In php how do I call an external script or program without having php
> waiting for the return?
>
> exec and system both seem to wait for the return, I don't want this.
You can still use exec() or system(), but you need to modify your
command line. On Unix, you can add "&" to yout command line to
execute your request in the background. On Windows, you can put
"start" in front of your command line to launch a new instance
of command interpreter (type "help start" at your command prompt
for more information).
Cheers,
NC
[Back to original message]
|