php8.5
Home/ Manual/ swoole / process/ Swoole\Process::exec

Swoole\Process::exec

PHP function Edit on GitHub ✎

(PECL swoole >= 1.9.0)

Execute system commands.

Description

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

Source: reference/swoole/swoole/process/exec.xml · from the official PHP manual (php/doc-en)