]> git.mxchange.org Git - friendica.git/blob - wip/procs
.
[friendica.git] / wip / procs
1 You could use proc_open for this:
2
3 proc_close(proc_open ("./script.php &", array(), $foo));
4
5 The empty array for the output specs prevents opening any pipes to the new
6 process, so proc_open doesn't wait for the execution of script.php to
7 finish - the last parameter is just there because it has to be.
8 proc_close() closes the process immediately, so your PHP script doesn't
9 stop.