mpr

A simple CLI tool for running multiple processes

npm install mpr
1 downloads in the last day
19 downloads in the last week
25 downloads in the last month

Multi Process Runner

A simple CLI tool for running multiple processes

Description

Runs multiple processes specified in a json file. When the server instance is running another instance of mpr can be used to interact with the first and start/stop/restart processes as well as turn on/off the output of some or all processes. Multiple clusters of processes can be run by specifying a port (the same port must be used when interacting with the server instance). For an example of a json file see test/support/procs.json

Here's an example of listing the processes:

And an example of the processes output:

Requirements

Install

$ npm install mpr -g

License

MIT License

Copyright (C) 2012 Gabriel Adomnicai

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

npm loves you