1.0.0 • Published 5 years ago
sync-runner v1.0.0
Sync Runner
To execute a binary executable file and return its standard output synchronization. (node.js)
Now syncRunner is supporting Nodejs
v0.11.*and iojsv1.*and Nodejsv4.*!
Installation
$ npm install sync-runnerUsage
var run = require("sync-runner");
var result = run("command", "current_work_directory", max_million_seconds);
console.log(result);
current_work_directoryandmax_million_secondsare optional. You can pass onlycurrent_work_directoryormax_million_seconds, or neither.