Skip to content

Instantly share code, notes, and snippets.

@indexzero
Created May 9, 2012 01:17
Show Gist options
  • Select an option

  • Save indexzero/2640933 to your computer and use it in GitHub Desktop.

Select an option

Save indexzero/2640933 to your computer and use it in GitHub Desktop.
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');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment