Notify.php
authorAlan Knowles <alan@akbkhome.com>
Fri, 3 Feb 2012 02:34:30 +0000 (10:34 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 3 Feb 2012 02:34:30 +0000 (10:34 +0800)
Notify.php

index 5f5752c..c88daa2 100644 (file)
@@ -186,7 +186,7 @@ class Pman_Core_Notify extends Pman
         echo $cmd . "\n";
         $pipe = array();
         $p = proc_open($cmd, $descriptorspec, $pipes, $cwd );
-        $info =  proc_get_status($p['proc']);
+        $info =  proc_get_status($p);
         $this->pool[] = array(
                 'proc' => $p,
                 'pid' => $info['pid'],