Closed 05nelsonm closed 8 months ago
So... for JS I think it may be possible to open our own pipe descriptors, pass the read end for stdin
and then write synchronously. :thinking:
So... for JS I think it may be possible to open our own pipe descriptors, pass the read end for
stdin
and then write synchronously. 🤔
Yeah, not gonna work. Looks like need to split async APIs out to blockingMain
, then add the coroutines dependency 😒
Unsure how to square this circle, as the API for Node.js does not support synchronous writing to the
stream.Writable
.Also, there are some write issues with Native that need attention.
For the time being, only Jvm has the ability to access standard input of a spawned process via
Process.stdin
extension function.