sindresorhus / grunt-shell

Run shell commands

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please use child_process.spawn()

stevenvachon opened this issue · comments

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();
});

Sure, but yours is more popular and gets updated more often.

+1 (and your doc don't look like sh... :P)

Any chances for reconsideration? Inheritance would be really nice.