Browse Source

Background the hook command.

Joe Clarke 1 year ago
parent
commit
e215e9b4b7
1 changed files with 1 additions and 1 deletions
  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)