indexzero
5/9/2012 - 1:17 AM

A potential node.js core bug from http://github.com/substack/pix.js

A potential node.js core bug from http://github.com/substack/pix.js

var fork = require('child_process').fork,
    spawn = require('child_process').spawn;

//
// This works!
//
// spawn('node', ['server.js']);

//
// This doesn't work
//
// fork(__dirname + '/server.js');