You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewRuntimeException('A temporary file could not be opened to write the process output to, verify that your TEMP environment variable is writable');
57
57
}
58
58
}
59
59
}
60
60
61
61
if (is_resource($input)) {
62
62
$this->input = $input;
63
-
} else {
63
+
} elseif (is_string($input)) {
64
64
$this->inputBuffer = $input;
65
+
} else {
66
+
$this->inputBuffer = (string) $input;
65
67
}
66
68
}
67
69
@@ -117,19 +119,12 @@ public function readAndWrite($blocking, $close = false)
117
119
if (0 !== fseek($fileHandle, $this->readBytes[$type])) {
118
120
continue;
119
121
}
120
-
$data = '';
121
-
$dataread = null;
122
-
while (!feof($fileHandle)) {
123
-
if (false !== $dataread = fread($fileHandle, self::CHUNK_SIZE)) {
0 commit comments