aboutsummaryrefslogblamecommitdiffstats
path: root/wip/procs
blob: 369c685290c7ef67d9d7eb3a66f758bb0e91db22 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                          
You could use proc_open for this:

proc_close(proc_open ("./script.php &", array(), $foo));

The empty array for the output specs prevents opening any pipes to the new
process, so proc_open doesn't wait for the execution of script.php to
finish - the last parameter is just there because it has to be.
proc_close() closes the process immediately, so your PHP script doesn't
stop.