$ npm install buffered-spawn
- Easy to use
- Uses cross-spawn by default, which fixes windows issues
- Supports callback & promise style
In terms of arguments, they are equal to node's spawn.
const bufferedSpawn = ;// Callback style;// ...or Promise style;
The actual child process is available if necessary:
const buffspawn'buffered-spawn';// Callback styleconst cp =
As said before,
cross-spawn to actually spawn the process. If you are having trouble running Windows such as wmic which has its own arguments parser, you may disable like so:
const cp =
$ npm test
Released under the MIT License.