diff options
author | Robin Appelman <robin@icewind.nl> | 2020-01-30 19:30:17 +0300 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2020-01-30 19:30:17 +0300 |
commit | 928b4101691a08e260e6febe11523fb92a2c80de (patch) | |
tree | 9eddefb32d3ae9f539c6d3216e970f60b86bdce3 | |
parent | dca9ed5533b5fbff2038cf254c7b594dadb24312 (diff) |
supress errors when x2t failsv0.1.5
-rw-r--r-- | lib/Document/ConverterBinary.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Document/ConverterBinary.php b/lib/Document/ConverterBinary.php index 9da33b6..98bf763 100644 --- a/lib/Document/ConverterBinary.php +++ b/lib/Document/ConverterBinary.php @@ -50,9 +50,9 @@ class ConverterBinary { } $process = proc_open($cmd, $descriptorSpec, $pipes, self::BINARY_DIRECTORY, []); - fclose($pipes[0]); - $output = stream_get_contents($pipes[1]); - $error = stream_get_contents($pipes[2]); + @fclose($pipes[0]); + $output = @stream_get_contents($pipes[1]); + $error = @stream_get_contents($pipes[2]); $status = proc_close($process); |