diff --git a/lib/tty_posix.js b/lib/tty_posix.js index 042c752580..a114d7cba2 100644 --- a/lib/tty_posix.js +++ b/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];