Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 21 lines (17 sloc) 0.546 kB
#!/usr/bin/env node
var fs = require('fs');
if (process.send) {
//
// Supress `stdout` and `stderr` when `forever` is being run as a fork.
// We use `child_process.fork` to daemonize `forever` processes, so
// outputting anything isn't a desired situation.
//
var nullStream = fs.createWriteStream('/dev/null');
var returner = function () {
return nullStream;
};
process.__defineGetter__('stdout', returner);
process.__defineGetter__('stderr', returner);
}
var forever = require('../lib/forever');
forever.cli.start();
Jump to Line
Something went wrong with that request. Please try again.