Skip to content

Commit

Permalink
fix hang in headlessRunFS when reading stdin (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
Syuparn authored Dec 3, 2023
1 parent ea5c454 commit 46c3607
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/runtime/lib/headless.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export async function headlessRunFS(

if (stdin) {
workerHost.pushStdin(stdin);
workerHost.pushEOF();
}

const result = await workerHost.start();
Expand Down

0 comments on commit 46c3607

Please sign in to comment.