kalisio / krawler

A minimalist (geospatial) ETL
https://kalisio.github.io/krawler/
MIT License
54 stars 13 forks source link

runCommand hook should allow to pipe stdout/stderr #154

Closed claustres closed 3 years ago

claustres commented 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.