diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-07-25 15:57:02 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-07-25 15:57:02 (GMT) |
commit | 004d2e654ffa9506699941289039edae89fcb620 (patch) | |
tree | 3818f81aa8ca532e614ccf31af9db7ef9ee0de85 /unix/tclUnixPipe.c | |
parent | 8733687efc5d3b8d2dd1114b0f5af35c019e9093 (diff) | |
parent | 323f750af89409054523043d07af9a3aaad0dfa2 (diff) | |
download | tcl-004d2e654ffa9506699941289039edae89fcb620.zip tcl-004d2e654ffa9506699941289039edae89fcb620.tar.gz tcl-004d2e654ffa9506699941289039edae89fcb620.tar.bz2 |
Close fork. Prefer vfork over posix_spawnp
Diffstat (limited to 'unix/tclUnixPipe.c')
-rw-r--r-- | unix/tclUnixPipe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/unix/tclUnixPipe.c b/unix/tclUnixPipe.c index b85ffe0..96ca095 100644 --- a/unix/tclUnixPipe.c +++ b/unix/tclUnixPipe.c @@ -15,7 +15,8 @@ #ifdef HAVE_POSIX_SPAWNP # if defined(HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2) \ - && defined(HAVE_POSIX_SPAWNATTR_SETFLAGS) + && defined(HAVE_POSIX_SPAWNATTR_SETFLAGS) \ + && !defined(HAVE_VFORK) # include <unistd.h> # include <spawn.h> # else |