about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2000-11-06 06:41:59 +0000
committerBart Schaefer <barts@users.sourceforge.net>2000-11-06 06:41:59 +0000
commit12ca8495d4754d4c57edc5214d3013fad86e6886 (patch)
treeebabd65eeb39c133ed2e2aae38b3dd03dd329905 /Src
parent49fc6b036cbc1f42966ddcd246de61712962b576 (diff)
downloadzsh-12ca8495d4754d4c57edc5214d3013fad86e6886.tar.gz
zsh-12ca8495d4754d4c57edc5214d3013fad86e6886.tar.xz
zsh-12ca8495d4754d4c57edc5214d3013fad86e6886.zip
Tweak interactiveness of cloned shell.
Diffstat (limited to 'Src')
-rw-r--r--Src/Modules/zpty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/zpty.c b/Src/Modules/zpty.c
index 30a36b194..2408be797 100644
--- a/Src/Modules/zpty.c
+++ b/Src/Modules/zpty.c
@@ -357,8 +357,8 @@ newptycmd(char *nam, char *pname, char **args, int echo, int nblock)
 	init_io();
 	setsparam("TTY", ztrdup(ttystrname));
 
-	execode(prog, 1, 0);
 	opts[INTERACTIVE] = 0;
+	execode(prog, 1, 0);
 	stopmsg = 2;
 	zexit(lastval, 0);
     }