Swoole\Process::exec

(PECL swoole >= 1.9.0)

Swoole\Process::execExecute system commands.

Description

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.

Parameters

exec_file

args

Return Values