0.1.7 • Published 3 years ago

fireprocess v0.1.7

Weekly downloads
49
License
MIT
Repository
github
Last release
3 years ago

#Fireprocess

Managing Child Processes has never been easier. fireprocess is also

##Installation

fireprocess is now public on npm

npm install [-g] fireprocess

##Commands

Just like in Node.js child processes, with fireprocess you can execute available ways:

var fireprocess = require("fireprocess");
fireprocess.exec(<command>[,<options>,<callback>]);
fireprocess.execFile(<command>[<args>,<options>,<callback>]);
fireprocess.fork(<file_path>[<args>,<options>,<callback>]);
fireprocess.spawn(<file_path>[<args>,<options>,<callback>]);

Child processes can also be executed from command line:

//exec
fireprocess -[-]x[=]<command>
//execFile
fireprocess --xf[=]<command>
//fork
fireprocess -f[=]<file_path>
//spawn
fireprocess -s[=]<file_path>

##I/O and color code

  • yellow for the command string
  • red for stderr
  • blue for stdin
  • green for stdout

##Notes

In version 0.x, command line excutions are currently limited to the command/file only.

0.1.7

3 years ago

0.1.6

4 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

7 years ago

0.1.1

8 years ago

0.1.0

8 years ago