ares

0.0.12 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i ares

Weekly Downloads

8

Version

0.0.12

License

none

Last publish

Collaborators

  • mvegeto