We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
stdout
stderr
1 parent 40327fd commit 2adbaf7Copy full SHA for 2adbaf7
src/main.ts
@@ -213,18 +213,18 @@ export class ExecProcess implements Result {
213
let stderr = '';
214
let stdout = '';
215
216
- if (this._streamErr) {
217
- for await (const chunk of this._streamErr) {
218
- stderr += chunk.toString();
219
- }
220
221
-
222
if (this._streamOut) {
223
for await (const chunk of this._streamOut) {
224
stdout += chunk.toString();
225
}
226
227
+ if (this._streamErr) {
+ for await (const chunk of this._streamErr) {
+ stderr += chunk.toString();
+ }
+
228
await this._processClosed;
229
230
if (this._options?.stdin) {
0 commit comments