mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
Merge branch 'master' of gitee.com:fastadminnet/framework
This commit is contained in:
@@ -123,7 +123,7 @@ class Process
|
|||||||
* @throws \RuntimeException
|
* @throws \RuntimeException
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
public function __construct($commandline, $cwd = null, array $env = null, $input = null, $timeout = 60, array $options = [])
|
public function __construct($commandline, $cwd = null, ?array $env = null, $input = null, $timeout = 60, array $options = [])
|
||||||
{
|
{
|
||||||
if (!function_exists('proc_open')) {
|
if (!function_exists('proc_open')) {
|
||||||
throw new \RuntimeException('The Process class relies on proc_open, which is not available on your PHP installation.');
|
throw new \RuntimeException('The Process class relies on proc_open, which is not available on your PHP installation.');
|
||||||
|
|||||||
Reference in New Issue
Block a user