Swoole\Process::__construct

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Process::__constructConstruct a process.

说明

public Swoole\Process::__construct ( callable $callback [, boolean $redirect_stdin_and_stdout [, integer $pipe_type ]] )

参数

callback

redirect_stdin_and_stdout

pipe_type