Skip to content

Commit 5c16545

Browse files
ericfreesePeter Stephenson
authored and
Peter Stephenson
committed
44214: <(...) substitutions shouldn't grab the terminal
1 parent c551937 commit 5c16545

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ChangeLog

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
2019-04-10 Peter Stephenson <[email protected]>
22

3+
* Eric Freese: 44214: Src/exec.c: <(...) substitutions shouldn't
4+
grab the terminal.
5+
36
* Roman Perepelitsa: 44215: Doc/Zsh/zle.yo,
47
Src/Zle/iwidgets.list, Src/Zle/zle.h, Src/Zle/zle_main.c,
58
Src/Zle/zle_thingy.c, Src/Zle/zle_utils.c, Src/Zle/zle_vi.c:

Src/exec.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -4984,7 +4984,7 @@ getpipe(char *cmd, int nullexec)
49844984
procsubstpid = pid;
49854985
return pipes[!out];
49864986
}
4987-
entersubsh(ESUB_PGRP, NULL);
4987+
entersubsh(ESUB_ASYNC|ESUB_PGRP, NULL);
49884988
redup(pipes[out], out);
49894989
closem(FDT_UNUSED, 0); /* this closes pipes[!out] as well */
49904990
cmdpush(CS_CMDSUBST);

0 commit comments

Comments
 (0)