mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 01:25:21 +02:00
minor stuff, getting ready for notify
This commit is contained in:
parent
1ea69ae275
commit
9cc49f27e6
4 changed files with 279 additions and 0 deletions
9
wip/procs
Normal file
9
wip/procs
Normal file
|
@ -0,0 +1,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.
|
Loading…
Add table
Add a link
Reference in a new issue