International PHP Conference Berlin 2025

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

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top