PHP Интерфейс Kraken\Util\System\SystemInterface

Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
existsPid ( string $pid ) : boolean Checks if process with given pid exists, returns whether operation was successful.
kill ( string $pid ) : boolean Kill process with given pid, returns whether operation was successful.
run ( string $command ) : string Run command asynchronously, and get pid of its process.

Описание методов

existsPid() публичный Метод

Checks if process with given pid exists, returns whether operation was successful.
public existsPid ( string $pid ) : boolean
$pid string
Результат boolean

kill() публичный Метод

Kill process with given pid, returns whether operation was successful.
public kill ( string $pid ) : boolean
$pid string
Результат boolean

run() публичный Метод

Run command asynchronously, and get pid of its process.
public run ( string $command ) : string
$command string
Результат string