diff options
| author | Richard M. Stallman | 1994-04-24 03:10:24 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-04-24 03:10:24 +0000 |
| commit | ab01d0a826d84064055007907f93bd4c8698cf93 (patch) | |
| tree | 8de672c6b45135891f89408a6783ae0d9bf9a0d3 /src/process.c | |
| parent | 13a72104deedcf9a6e3ef2fdbe87d3f9d4c7963f (diff) | |
| download | emacs-ab01d0a826d84064055007907f93bd4c8698cf93.tar.gz emacs-ab01d0a826d84064055007907f93bd4c8698cf93.zip | |
(create_process): Use child_setup_tty only if pty_flag.
Diffstat (limited to 'src/process.c')
| -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) | |||
| 1376 | #endif /* not BSD4_1 */ | 1376 | #endif /* not BSD4_1 */ |
| 1377 | #endif /* SIGCHLD */ | 1377 | #endif /* SIGCHLD */ |
| 1378 | 1378 | ||
| 1379 | child_setup_tty (xforkout); | 1379 | if (pty_flag) |
| 1380 | child_setup_tty (xforkout); | ||
| 1380 | child_setup (xforkin, xforkout, xforkout, | 1381 | child_setup (xforkin, xforkout, xforkout, |
| 1381 | new_argv, 1, current_dir); | 1382 | new_argv, 1, current_dir); |
| 1382 | } | 1383 | } |