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: 2 months 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 (about 4 years ago)
- Last Synced: 2024-11-08T10:12:06.683Z (2 months 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
- awesome-github-star - syncRunner
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.