Update exectool.php
This commit is contained in:
parent
1ee86700cd
commit
0896073b9b
|
@ -206,6 +206,11 @@ if(!is_fn("exec_command")) {
|
|||
|
||||
$return = ob_get_clean();
|
||||
|
||||
// PID is integer
|
||||
if(array_key_equals("async", $options, true)) {
|
||||
$return = intval(rtrim($return));
|
||||
};
|
||||
|
||||
return $return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user