childprocessmanager
ES6 JS class to spawn and manage external processes
Installation
npm install childprocessmanager --save
Usage
var childprocessmanager = ; var lsProc = processPath: "/bin/ls" { console; } { console; } { // Full line of data received (will be called as well as onStdout, recommend only using this callback) console; } { console; } detached: false // set to true to let process continue to run if node closes; // Start process with arguments. equal to ls ./directory ../anotherdirectorylsProc; // Send process data into its stdin with sendDataLinelsProc;