Skip to content

Commit 97f0e2d

Browse files
committed
suppress proc_open errors
1 parent 5b5a0aa commit 97f0e2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Terminal.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ private static function readFromProcess(string $command): ?string
158158

159159
$cp = \function_exists('sapi_windows_cp_set') ? sapi_windows_cp_get() : 0;
160160

161-
if (!$process = proc_open($command, $descriptorspec, $pipes, null, null, ['suppress_errors' => true])) {
161+
if (!$process = @proc_open($command, $descriptorspec, $pipes, null, null, ['suppress_errors' => true])) {
162162
return null;
163163
}
164164

0 commit comments

Comments
 (0)