diff options
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); } |