Jyxo\Shell\Client::killProcess PHP Method

killProcess() public method

Works only on Linux.
public killProcess ( string $name ) : self
$name string Process name
return self
    public function killProcess(string $name) : self
    {
        shell_exec('killall -s KILL ' . $name);
        return $this;
    }