Fix setsid in tty.open

Thanks to Leen Besselink for pointing this out.
Closes GH-815.
v0.7.4-release
Ryan Dahl 2011-03-22 12:02:33 -07:00
parent 24f9bf4180
commit 391f087981
1 changed files with 1 additions and 1 deletions

View File

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