diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/s/freebsd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/s/freebsd.h b/src/s/freebsd.h index 9a32b9bf57d..ecfa869593f 100644 --- a/src/s/freebsd.h +++ b/src/s/freebsd.h @@ -92,3 +92,8 @@ /* Needed to avoid hanging when child process writes an error message and exits -- enami tsugutomo <enami@ba2.so-net.or.jp>. */ #define vfork fork + +/* Don't close pty in process.c to make it as controlling terminal. + It is already a controlling terminal of subprocess, because we did + ioctl TIOCSCTTY. */ +#define DONT_REOPEN_PTY |