mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 10:41:11 +02:00
Tweak interactiveness of cloned shell.
This commit is contained in:
parent
49fc6b036c
commit
12ca8495d4
1 changed files with 1 additions and 1 deletions
|
@ -357,8 +357,8 @@ newptycmd(char *nam, char *pname, char **args, int echo, int nblock)
|
||||||
init_io();
|
init_io();
|
||||||
setsparam("TTY", ztrdup(ttystrname));
|
setsparam("TTY", ztrdup(ttystrname));
|
||||||
|
|
||||||
execode(prog, 1, 0);
|
|
||||||
opts[INTERACTIVE] = 0;
|
opts[INTERACTIVE] = 0;
|
||||||
|
execode(prog, 1, 0);
|
||||||
stopmsg = 2;
|
stopmsg = 2;
|
||||||
zexit(lastval, 0);
|
zexit(lastval, 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue