Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Multi Process Runner
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
assets readme + assets
bin start process command
lib allow client commands from the same window
test Added config for ulimit & maxListeners
.gitignore commands logger
.mprrc.json Added config for ulimit & maxListeners
CHANGELOG.md Version increase
Makefile dependencies update + other fixes
README.md readme
package.json

README.md

 ███▄ ▄███▓ ██▓███   ██▀███  
▓██▒▀█▀ ██▒▓██░  ██▒▓██ ▒ ██▒
▓██    ▓██░▓██░ ██▓▒▓██ ░▄█ ▒
▒██    ▒██ ▒██▄█▓▒ ▒▒██▀▀█▄  
▒██▒   ░██▒▒██▒ ░  ░░██▓ ▒██▒
░ ▒░   ░  ░▒▓▒░ ░  ░░ ▒▓ ░▒▓░
░  ░      ░░▒ ░       ░▒ ░ ▒░
░      ░   ░░         ░░   ░ 
       ░               ░     

Multi Process Runner

A simple CLI tool for running multiple processes

Description

Runs multiple processes specified in a json file. After some processes have been started any of them can be started/stopped/restarted from the same window where they are running or by running another mpr instance. 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:

Type help in the same window where the processes are running to see the available commands:

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.

Something went wrong with that request. Please try again.