From 1ccc4837d425cf24023b41291a740ae6ffe0381e Mon Sep 17 00:00:00 2001 From: Niklas Keller Date: Sun, 17 Sep 2017 22:12:48 +0200 Subject: [PATCH] Hide warnings in Windows destroy --- lib/Internal/Windows/Runner.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Internal/Windows/Runner.php b/lib/Internal/Windows/Runner.php index 44ef750..db64cd5 100644 --- a/lib/Internal/Windows/Runner.php +++ b/lib/Internal/Windows/Runner.php @@ -163,8 +163,8 @@ final class Runner implements ProcessRunner { } } - \stream_get_contents($handle->wrapperStderrPipe); - \fclose($handle->wrapperStderrPipe); + @\stream_get_contents($handle->wrapperStderrPipe); + @\fclose($handle->wrapperStderrPipe); if (\is_resource($handle->proc)) { \proc_close($handle->proc);