projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb5dd16
)
Notify.php
author
Alan Knowles
<alan@akkbhome.com>
Sun, 10 Apr 2011 07:52:02 +0000
(15:52 +0800)
committer
Alan Knowles
<alan@akkbhome.com>
Sun, 10 Apr 2011 07:52:02 +0000
(15:52 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
dbf0cd6
..
42967f8
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-67,9
+67,11
@@
class Pman_Core_Notify extends Pman
function run($id)
{
+
+ $tn = tempnam(ini_get('session.save_path'),'stdout');
$descriptorspec = array(
0 => array("pipe", 'r'), // stdin is a pipe that the child will read from
- 1 => array("
pipe"
, 'w'), // stdout is a pipe that the child will write to
+ 1 => array("
file", $tn
, 'w'), // stdout is a pipe that the child will write to
2 => array("pipe", "w") // stderr is a file to write to
);
$php = $_SERVER["_"];