child_process.spawnSync() failure when readline module is also used #11918
Labels
bug
Something isn't working
confirmed bug
We can reproduce this issue
node:child_process
node:readline
What version of Bun is running?
1.1.13
What platform is your computer?
Linux
What steps can reproduce the bug?
of the following:
What is the expected behavior?
Buffer(6) [ 104, 101, 108, 108, 111, 10 ]
What do you see instead?
bash: line 0: echo: write error: Bad file descriptor
Buffer(0) [ ]
Additional information
Works if input of spawnSync is Uint8Array(1).
Works if input of spawnSync is "" (empty string).
Works if reader.question() is removed.
Works with node.js.
The text was updated successfully, but these errors were encountered: