gulachek / esmakefile

Make based build system in JavaScript
MIT License
0 stars 0 forks source link

Add logging for spawn calls #19

Closed gulachek closed 1 year ago

gulachek commented 1 year ago

It seems common enough to want to see the command line args of a spawn command. Can we expose a spawn on the build system to allow for a centralized logging switch for spawn logging?

gulachek commented 1 year ago

It makes sense to provide a spawn api (provided now with spawnTarget), but the system can already detect if a ChildProcess is returned by a recipe and log appropriately.