easycp
Easy child process
Please ★ this repo if you found it useful ★ ★ ★
Features
- Promise based
- Works with i/o
Installation
npm install --save easycp
Dependencies
Usage
import easycp, { readcp, silentcp } from 'easycp';
easycp('echo hello world').then(process => console.log(process));
easycp('echo', ['hello', 'world']).then(process => console.log(process));
easycp('echo', ['hello', 'world'], { stderr: false }).then(process => console.log(process));
silentcp('echo hello world').then(process => console.log(process));
readcp('echo hello world').then(result => console.log(result));
Support
Submit an issue
Contributing
Review the guidelines for contributing
License
MIT License
Jam Risser © 2018
Changelog
Review the changelog
Credits
Support on Liberapay
A ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of building this project.
Add some fuel if you'd like to keep me going!