From: Richard M. Stallman Date: Sun, 24 Apr 1994 03:10:24 +0000 (+0000) Subject: (create_process): Use child_setup_tty only if pty_flag. X-Git-Tag: emacs-19.34~8794 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ab01d0a826d84064055007907f93bd4c8698cf93;p=emacs.git (create_process): Use child_setup_tty only if pty_flag. --- diff --git a/src/process.c b/src/process.c index c7262fc79e8..653e2fe1770 100644 --- a/src/process.c +++ b/src/process.c @@ -1376,7 +1376,8 @@ create_process (process, new_argv, current_dir) #endif /* not BSD4_1 */ #endif /* SIGCHLD */ - child_setup_tty (xforkout); + if (pty_flag) + child_setup_tty (xforkout); child_setup (xforkin, xforkout, xforkout, new_argv, 1, current_dir); }