projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01fcd08
)
Notify.php
author
Alan Knowles
<alan@roojs.com>
Wed, 19 Feb 2014 08:43:25 +0000
(16:43 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 19 Feb 2014 08:43:25 +0000
(16:43 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
95a6031
..
b335ecf
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-280,7
+280,9
@@
class Pman_Core_Notify extends Pman
}
// phpinfo();exit;
- $tn = tempnam(ini_get('session.save_path'),'stdout') . '.stdout';
+ $tnx = tempnam(ini_get('session.save_path'),'stdout');
+ unlink($tnx);
+ $tn = $tnx . '.stdout';
$descriptorspec = array(
0 => array("pipe", 'r'), // stdin is a pipe that the child will read from
1 => array("file", $tn, 'w'), // stdout is a pipe that the child will write to