From 97f0e2dde8f3566d251d507d32656d32fa004018 Mon Sep 17 00:00:00 2001 From: fritzmg Date: Fri, 20 Sep 2024 11:40:42 +0100 Subject: [PATCH] suppress proc_open errors --- Terminal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Terminal.php b/Terminal.php index 948ced4ad..ee178327a 100644 --- a/Terminal.php +++ b/Terminal.php @@ -158,7 +158,7 @@ private static function readFromProcess(string $command): ?string $cp = \function_exists('sapi_windows_cp_set') ? sapi_windows_cp_get() : 0; - if (!$process = proc_open($command, $descriptorspec, $pipes, null, null, ['suppress_errors' => true])) { + if (!$process = @proc_open($command, $descriptorspec, $pipes, null, null, ['suppress_errors' => true])) { return null; }