Skip to content

Instantly share code, notes, and snippets.

@isaacs
Created September 13, 2011 16:44
Show Gist options
  • Save isaacs/1214279 to your computer and use it in GitHub Desktop.
Save isaacs/1214279 to your computer and use it in GitHub Desktop.
var child_process = require("child_process")
child_process.spawn("vim", ["foo.txt"], { cwd: process.cwd(),
env: process.env,
customFds: [0, 1, 2] })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment