4 ms·
Would be good to have a function which outputs all stdout from a sub command in real time, rather than after it's finished. I generally use "spawn" from child_
by gitgud 5y ago
Would be good to have a function which outputs all stdout from a sub command in real time, rather than after it's finished.
I generally use "spawn" from child_process instead of "exec" (which this tool uses), which can pipe output to the terminal as it happens. Great for creating build scripts.
- lobstrosity420 5y agoYes, you could use node's streams to implement this. It would be really cool.