Skip to content

Commit

Permalink
Fix bug in rawprocess where stdinStr was not passed (#21993)
Browse files Browse the repository at this point in the history
  • Loading branch information
karthiknadig authored Sep 14, 2023
1 parent 1040f3c commit 203f58b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/client/common/process/rawProcessApis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,10 @@ export function execObservable(
subscriber.error(ex);
internalDisposables.forEach((d) => d.dispose());
});
if (options.stdinStr !== undefined) {
proc.stdin?.write(options.stdinStr);
proc.stdin?.end();
}
});

return {
Expand Down

0 comments on commit 203f58b

Please sign in to comment.