Notify.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 31 May 2012 05:41:15 +0000 (13:41 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 31 May 2012 05:41:15 +0000 (13:41 +0800)
Notify.php

index e7ec4b3..6f64f8f 100644 (file)
@@ -203,7 +203,7 @@ class Pman_Core_Notify extends Pman
         if (!empty($this->send_to)) {
             $app .= ' --sent-to='.escapeshellarg($this->send_to);
         }
-        $cmd = $php . ' ' . $app . ' ' . $cmdOpts; //. ' &';
+        $cmd = 'exec ' . $php . ' ' . $app . ' ' . $cmdOpts; //. ' &';
         
        
         $pipe = array();