]> git.eshelyaron.com Git - emacs.git/commitdiff
(create_process): Use child_setup_tty only if pty_flag.
authorRichard M. Stallman <rms@gnu.org>
Sun, 24 Apr 1994 03:10:24 +0000 (03:10 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 24 Apr 1994 03:10:24 +0000 (03:10 +0000)
src/process.c

index c7262fc79e895b30d611228db5db8b8b236452e5..653e2fe177063163014bf1eec5b2210de29ad78f 100644 (file)
@@ -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);
       }