Swoole\Process::__construct
(PECL swoole >= 1.9.0)
Swoole\Process::__construct — 构造一个进程。
描述
public Swoole\Process::__construct(
callable $callback
,
bool $redirect_stdin_and_stdout
= ?,
int $pipe_type
= ?)
参数
callback
-
redirect_stdin_and_stdout
-
pipe_type
-