exec
laravel/octane
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Execute an external program
exec
(
string $command
, array &
$output
=
null
,
int
&
$result_code
=
null
):
string
|
false
public function
run
(
$command
)
{
exec
(
$command
,
$output
);
return
$output
;
}
src/Exec.php