From 391f0879815fe0395484587dca485e15e75684b2 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 22 Mar 2011 12:02:33 -0700 Subject: [PATCH] Fix setsid in tty.open Thanks to Leen Besselink for pointing this out. Closes GH-815. --- lib/tty_posix.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tty_posix.js b/lib/tty_posix.js index 042c7525808..a114d7cba2c 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];