Explorar o código

Background the hook command.

Joe Clarke hai 1 ano
pai
achega
e215e9b4b7
Modificáronse 1 ficheiros con 1 adicións e 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)