Browse Source

Fix setsid in tty.open

Thanks to Leen Besselink for pointing this out.
Closes GH-815.
v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
391f087981
  1. 2
      lib/tty_posix.js

2
lib/tty_posix.js

@ -45,7 +45,7 @@ exports.open = function(path, args) {
child = spawn(path, args, {
env: env,
customFds: [masterFD, masterFD, masterFD],
setuid: true
setsid: true
});
return [stream, child];

Loading…
Cancel
Save