logvik / meteor-long-running-child-process

Spawn child processes that survive restarts and exit when the app exits.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sanjo:long-running-child-process

Spawn child processes that survive restarts and exit when the app exits.

API

var childProcess = new sanjo.LongRunningChildProcess('myChild');
var spawnOptions = {
  command: <COMMAND>,
  args: []
};
childProcess.spawn(spawnOptions);

Also see spec and implementation for details.

Example

License

MIT

The lib/LongRunningChildProcess.coffee file has been originally written by Ronen Babayoff and is also under MIT license.

About

Spawn child processes that survive restarts and exit when the app exits.

License:MIT License


Languages

Language:CoffeeScript 71.8%Language:JavaScript 26.9%Language:Shell 1.3%