diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-04 13:40:05 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-04 13:40:05 +0000 |
commit | e7895ac92c8398b1c554e218c373316356ccbd19 (patch) | |
tree | 8fe7180ccc077b692f7436c210610d2921e40717 /Src/Modules/zpty.c | |
parent | 9bbe45297c22d3979c935e412254d4ac376ca4bc (diff) | |
download | zsh-e7895ac92c8398b1c554e218c373316356ccbd19.tar.gz zsh-e7895ac92c8398b1c554e218c373316356ccbd19.tar.xz zsh-e7895ac92c8398b1c554e218c373316356ccbd19.zip |
close dump file descriptors in children (11151)
Diffstat (limited to 'Src/Modules/zpty.c')
-rw-r--r-- | Src/Modules/zpty.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/Modules/zpty.c b/Src/Modules/zpty.c index 38da5d500..23b1f4209 100644 --- a/Src/Modules/zpty.c +++ b/Src/Modules/zpty.c @@ -356,6 +356,8 @@ newptycmd(char *nam, char *pname, char **args, int echo, int block) if (SHTTY != -1) close(SHTTY); + closedumps(); + execve(cmd, args, environ); exit(0); } |