command = $cmd; } function execute(): string { return shell_exec($this->command); } function start(): string { shell_exec("nohup " . $this->command . " > /dev/null 2>/dev/null &"); return $this->command; } }; } }