Skip to content

Commit 203f58b

Browse files
authored
Fix bug in rawprocess where stdinStr was not passed (#21993)
1 parent 1040f3c commit 203f58b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/client/common/process/rawProcessApis.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,10 @@ export function execObservable(
257257
subscriber.error(ex);
258258
internalDisposables.forEach((d) => d.dispose());
259259
});
260+
if (options.stdinStr !== undefined) {
261+
proc.stdin?.write(options.stdinStr);
262+
proc.stdin?.end();
263+
}
260264
});
261265

262266
return {

0 commit comments

Comments
 (0)