Explorar el Código

Background the hook command.

Joe Clarke hace 1 año
padre
commit
e215e9b4b7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      www/functions.php

+ 1 - 1
www/functions.php

@@ -168,7 +168,7 @@ MM_reloadPage(true);
         }
 
         $argstr = trim($argstr);
-        @exec("$hook_val $argstr");
+        @exec("$hook_val $argstr > /dev/null 2>&1 &");
     }
 
     function get_PI_REST($url, $p = false, $decode = true, $timeout = 300)