mirror of
https://github.com/friendica/friendica
synced 2024-11-18 02:23:40 +00:00
9 lines
379 B
Text
9 lines
379 B
Text
|
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.
|