1
0
mirror of https://github.com/danog/process.git synced 2024-12-02 09:37:55 +01:00

Hide warnings in Windows destroy

This commit is contained in:
Niklas Keller 2017-09-17 22:12:48 +02:00
parent dcc691ea14
commit 1ccc4837d4

View File

@ -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);