Package Exports
- exec-extra
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (exec-extra) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
exec-extra
A better child_process
Why
- Promise interface.
- Executes locally installed binaries by name.
- Improved Windows support.
Install
npm install --save exec-extraUsage
const exec = require('exec-extra');
exec('cat', ['README.md']).then(([stdout, stderr]) => {
console.log(stdout);
console.error(stderr);
});