Swoole\Process::kill

Send signal to the child process.

Description

public static bool Swoole\Process::kill(int $pid, int $signal_no = ?)

Send signal to the child process.

Parameters

pid

Process pid

signal_no

Signal to be sent

Return Values

Returns true on success or false on failure.