Notify.php
authorAlan Knowles <alan@akbkhome.com>
Tue, 14 Feb 2012 05:45:39 +0000 (13:45 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 14 Feb 2012 05:45:39 +0000 (13:45 +0800)
Notify.php

index ef3f60f..b526e85 100644 (file)
@@ -236,7 +236,7 @@ class Pman_Core_Notify extends Pman
                 continue;
             }
             
-            echo "CLOSING: " . $p['cmd'] . " : " . file_get_contents($p['out']) . "\n";
+            echo "CLOSING: ({$p['pid']}) " . $p['cmd'] . " : " . file_get_contents($p['out']) . "\n";
             //fclose($p['pipes'][1]);
             fclose($p['pipes'][0]);
             fclose($p['pipes'][2]);
@@ -248,7 +248,7 @@ class Pman_Core_Notify extends Pman
                 $pool[] = $p;
                 continue;
             }
-            echo "ENDED: " . $p['cmd'] . " : " . file_get_contents($p['out']) . "\n";
+            echo "ENDED: ({$p['pid']}) " .  $p['cmd'] . " : " . file_get_contents($p['out']) . "\n";
             
             //unlink($p['out']);
         }