Swoole\Process::exec

(PECL swoole >= 1.9.0)

Swoole\Process::execExecute system commands.

说明

public Swoole\Process::exec(string $exec_file, string $args): ReturnType

The process will be replaced to be the system command process, but the pipe to the parent process will be kept.

参数

exec_file

args

返回值