public function sendSignal($sig)
{
$result = \posix_kill($this->_pid, $sig);
if (false === $result) {
throw new FailToSendSignalException('fail to send signal ' . $sig . ' to process ' . $this->_pid);
}
return $result;
}