if(!$debug)exec($start_str.' > /dev/null 2>&1 &');// "> /dev/null 2>&1 &" makes sure it is really really run as a background job that does not wait for input
if(!$debug)exec($start_str.' > /dev/null 2>&1 &');// "> /dev/null 2>&1 &" makes sure it is really really run as a background job that does not wait for input
elseexec($start_str.$debug.' 2>&1 &');
elseexec($start_str.$debug.' > dev/null 2>&1 &');
for($i=0;$i<5;$i++){
for($i=0;$i<5;$i++){
if(file_exists($cmd_pipe))
if(file_exists($cmd_pipe))
...
@@ -232,7 +234,7 @@ else if ($cmd=="set_quality") {
...
@@ -232,7 +234,7 @@ else if ($cmd=="set_quality") {