Project

General

Profile

Bug #10540 ยป util-process.patch

Orion Poplawski, 05/09/2020 09:41 AM

View differences:

util.inc 2020-05-09 08:33:13.109820153 -0600
function is_process_running($process) {
$output = "";
exec("/bin/pgrep -anx " . escapeshellarg($process), $output, $retval);
return (intval($retval) == 0);
if ($process != "") {
exec("/bin/pgrep -anx " . escapeshellarg($process), $output, $retval);
return (intval($retval) == 0);
}
return false;
}
function isvalidproc($proc) {
    (1-1/1)