ares

A simple wrapper around childProcess.exec that helps keep process launching code clean

npm install ares
2 downloads in the last day
40 downloads in the last week
72 downloads in the last month

A very simple wrapper around childProcess.exec that just executes commands. It doesn't give you any option to respond to errors or return values. It's useful for launching scripts or executables and keeping code clean.

Installation

npm install ares

Usage

var ares = require('ares').ares;

ares("python C:/MyScript.py");
ares("C:/SomeProgram.exe --option='yup'");

An optional second parameter logs everything from stdout and stderr

var ares = require('ares').ares;
ares("python C:/MyScript.py", true);

Note: The name doesn't mean anything, it's just short and easy to type

npm loves you