mirror of https://github.com/nodejs/node.git
Fix setsid in tty.open
Thanks to Leen Besselink for pointing this out. Closes GH-815.v0.7.4-release
parent
24f9bf4180
commit
391f087981
|
@ -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…
Reference in New Issue