Function

exec

Synopsis

exec(string, mixed, &$ref): mixed

Area
Runtime\PS\Exec\execareas

Description

exec runs $command through the shell and returns the last line of its stdout, appending each output line to $output when the caller passes an array, and writing the exit status to $result_code.

Usage

$value = exec($arguments);
$fn = exec(...);

See also