pcntl_exec
pcntl_exec
(PHP 4 >= 4.2.0, PHP 5, PHP 7)
pcntl_exec — Executes specified program in current process space
Description
bool pcntl_exec ( string $path [, array $args [, array $envs ]] )
Executes the program with the given arguments.
Parameters
-
path
-
path
must be the path to a binary executable or a script with a valid path pointing to an executable in the shebang ( #!/usr/local/bin/perl for example) as the first