Skip to content

Instantly share code, notes, and snippets.

@mmalecki
Created February 9, 2012 19:04
Show Gist options
  • Select an option

  • Save mmalecki/1782082 to your computer and use it in GitHub Desktop.

Select an option

Save mmalecki/1782082 to your computer and use it in GitHub Desktop.
#!/usr/bin/node
require('child_process').spawn(process.argv[2], process.argv.slice(3), { customFds: [0, 1, 2] });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment