Simple, easy command executor. No settings needed.
$ npm install simple-exe
Command String format:
var exe = require("simple-exe");
exe("echo Hello World!", err => {
if (err) {
console.log("Error with code:", err);
throw err;
}
// ...
});
Simple-exe uses space to separate arguments, which means, if your argument contains spaces, you cannot just execute it in String format.
Command Array format:
exe(["echo", "Hello World!"], err => {
// ...
});