Skip to content

Commit

Permalink
Fix bug in rawprocess where stdinStr was not passed
Browse files Browse the repository at this point in the history
  • Loading branch information
karthiknadig committed Sep 14, 2023
1 parent 1040f3c commit c5c6fbe
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) {
proc.stdin?.write(options.stdinStr);
proc.stdin?.end();
}
});

return {
Expand Down

0 comments on commit c5c6fbe

Please sign in to comment.