aboutsummaryrefslogtreecommitdiffstats
path: root/wip
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-06 23:08:38 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-06 23:08:38 -0700
commit9cc49f27e6fd713bc41831f19decd1460c244544 (patch)
treef69ddb98e5780ed323ec19e8fc44ac35d43e13f5 /wip
parent1ea69ae275245f65ee0bb8f959744f0896913a0c (diff)
downloadvolse-hubzilla-9cc49f27e6fd713bc41831f19decd1460c244544.tar.gz
volse-hubzilla-9cc49f27e6fd713bc41831f19decd1460c244544.tar.bz2
volse-hubzilla-9cc49f27e6fd713bc41831f19decd1460c244544.zip
minor stuff, getting ready for notify
Diffstat (limited to 'wip')
-rw-r--r--wip/procs9
1 files changed, 9 insertions, 0 deletions
diff --git a/wip/procs b/wip/procs
new file mode 100644
index 000000000..369c68529
--- /dev/null
+++ b/wip/procs
@@ -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. \ No newline at end of file