PHP Interface Kraken\Util\System\SystemInterface

Afficher le fichier Open project: kraken-php/framework Interface Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

existsPid() public méthode

Checks if process with given pid exists, returns whether operation was successful.
public existsPid ( string $pid ) : boolean
$pid string
Résultat boolean

kill() public méthode

Kill process with given pid, returns whether operation was successful.
public kill ( string $pid ) : boolean
$pid string
Résultat boolean

run() public méthode

Run command asynchronously, and get pid of its process.
public run ( string $command ) : string
$command string
Résultat string