The Swoole\Process class
(PECL swoole >= 1.9.0)
Class synopsis
class Swoole\Process
{
public static alarm(
int $interval_usec
):
void
public static daemon(
bool $nochdir
= ?,
bool $noclose
= ?):
void
public exec(
string $exec_file
,
string $args
):
ReturnType
public exit(
string $exit_code
= ?):
void
public static kill(
int $pid
,
int $signal_no
= ?):
bool
public name(
string $process_name
):
bool
public push(
string $data
):
bool
public read(
int $maxsize
= ?):
string
public useQueue(
int $key
,
int $mode
= ?):
bool
public static wait(
bool $blocking
= ?):
array
public write(
string $data
):
int
}
Predefined Constants
Swoole\Process::IPC_NOWAIT
-
Table of Contents