diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-04-24 03:10:24 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-04-24 03:10:24 +0000 |
commit | ab01d0a826d84064055007907f93bd4c8698cf93 (patch) | |
tree | 8de672c6b45135891f89408a6783ae0d9bf9a0d3 /src | |
parent | 13a72104deedcf9a6e3ef2fdbe87d3f9d4c7963f (diff) | |
download | emacs-ab01d0a826d84064055007907f93bd4c8698cf93.tar.gz |
(create_process): Use child_setup_tty only if pty_flag.
Diffstat (limited to 'src')
-rw-r--r-- | src/process.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |