Notify.php
authorAlan Knowles <alan@akkbhome.com>
Sun, 10 Apr 2011 07:45:29 +0000 (15:45 +0800)
committerAlan Knowles <alan@akkbhome.com>
Sun, 10 Apr 2011 07:45:29 +0000 (15:45 +0800)
Notify.php

index 6eb73cd..e725a92 100644 (file)
@@ -79,7 +79,7 @@ class Pman_Core_Notify extends Pman
         echo $cmd . "\n";
         $pipe = array();
         $p = proc_open($cmd, $descriptorspec, $pipes, $cwd );
-        $this->pool[] = array('proc' => $p, 'pipes' =>$pipes, 'cmd' => $cmd);
+        $this->pool[] = array('proc' => $p, 'pipes' => &$pipes, 'cmd' => $cmd);
     }
     
     function poolfree() {