ProPuke
Piping stdout from a ChildProcess while it's running
Is it possible in Deno to read from a ChildProcess's stdout while it is running (before it has completed)?
I'm using
If I then try reading fromIf I try reading direct from
(my bad, this was called from later calling
deno.Command
and .spawn()
to create a ChildProcess
.If I then try reading from
process.stdout.getReader()
it does not return anything until the process has terminated and an output status is returned.
process.stdout
I get the printed warning "Can't collect output because stdout is locked".output()
instead of awaiting status
)
Is it possible to read from a ChildProcess stdout while it is interactively running?9 replies