Closed claustres closed 3 years ago
exec returns a ChildProcess object that is an EventEmitter, listening to data event allows to display output in real time. Piping is also possible. See https://stackoverflow.com/questions/10232192/exec-display-stdout-live.
exec
ChildProcess
EventEmitter
data
exec
returns aChildProcess
object that is anEventEmitter
, listening todata
event allows to display output in real time. Piping is also possible. See https://stackoverflow.com/questions/10232192/exec-display-stdout-live.