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