co-execfile
v1.0.0
Published
execFile() wrapper for 'co'
Downloads
3
Maintainers
Readme
co-execFile
Node core execFile()
wrapped to return a thunk for co.
Installation
$ npm install co-execFile
Example
Do some stuff with git:
var co = require('co');
var exec = require('co-exec');
co(function *(){
var result = yield execFile('~/myscript.sh');
console.log('the result of myscript is %s', result);
});
License
MIT