This commit is contained in:
n.pankin 2022-09-26 17:27:46 +03:00
parent e1ccd6387e
commit b47a2c35c2
1 changed files with 3 additions and 1 deletions

View File

@ -1298,7 +1298,9 @@ function atf_guid()
function _atf_start_watchdog($guid) function _atf_start_watchdog($guid)
{ {
$script = dirname(__FILE__) . '/../gamectl atf_watchdog ' . getmypid() . ' ' . $guid; global $GAME_ROOT;
$script = "$GAME_ROOT/gamectl atf_watchdog " . getmypid() . ' ' . $guid;
exec("nohup $script > /dev/null &", $output, $ret); exec("nohup $script > /dev/null &", $output, $ret);
} }