Please use child_process.spawn()
stevenvachon opened this issue · comments
Steven Vachon commented
It can preserve stdout/stderr colors with stdio
:
var child = child_process.spawn(app, [command], {cwd:cwd, stdio:"inherit"});
child.on("exit", function(code)
{
this.removeAllListeners();
callback();
});
Sindre Sorhus commented
Steven Vachon commented
Sure, but yours is more popular and gets updated more often.
Mark Arseneault commented
+1 (and your doc don't look like sh... :P)
Sergii Lavrin commented
Any chances for reconsideration? Inheritance would be really nice.