🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

fireprocess

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fireprocess

node package to manage child processes

0.1.7
latest
Source
npm
Version published
Weekly downloads
12
500%
Maintainers
1
Weekly downloads
 
Created
Source

#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.

Keywords

node

FAQs

Package last updated on 04 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts