Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xadillax/syncrunner
To execute a binary executable file and return its standard output synchronization. (node.js)
https://github.com/xadillax/syncrunner
Last synced: 28 days ago
JSON representation
To execute a binary executable file and return its standard output synchronization. (node.js)
- Host: GitHub
- URL: https://github.com/xadillax/syncrunner
- Owner: XadillaX
- License: gpl-2.0
- Created: 2014-04-26T16:27:56.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2020-12-31T06:51:45.000Z (almost 4 years ago)
- Last Synced: 2024-10-05T01:53:05.402Z (about 1 month ago)
- Language: C++
- Size: 76.2 KB
- Stars: 10
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Sync Runner
==========To execute a binary executable file and return its standard output synchronization. (node.js)
> Now **syncRunner** is supporting [Nodejs](http://nodejs.org/) `v0.11.*` and
> [iojs](http://iojs.org/) `v1.*` and [Nodejs](http://nodejs.org/) `v4.*`!Installation
----------```shell
$ npm install sync-runner
```Usage
----------```javascript
var run = require("sync-runner");
var result = run("command", "current_work_directory", max_million_seconds);
console.log(result);
```> `current_work_directory` and `max_million_seconds` are optional. You can pass only `current_work_directory` or `max_million_seconds`, or neither.