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

返回值

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

备份地址:http://www.lvesu.com/blog/php/swoole-process.exec.php