From d8ce037e084158958e7566e78f37e3332c7abe42 Mon Sep 17 00:00:00 2001 From: Bjorn Winckler Date: Fri, 13 Jun 2008 19:12:55 +0200 Subject: [PATCH] Make background processes work --- src/os_unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os_unix.c b/src/os_unix.c index 1b1564fb..607cdef2 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -3886,7 +3886,7 @@ mch_call_shell(cmd, options) /* push stream discipline modules */ if (options & SHELL_COOKED) SetupSlavePTY(pty_slave_fd); -# ifdef TIOCSCTTY +# if defined(TIOCSCTTY) && !defined(FEAT_GUI_MACVIM) /* Try to become controlling tty (probably doesn't work, * unless run by root) */ ioctl(pty_slave_fd, TIOCSCTTY, (char *)NULL); -- 2.11.4.GIT