about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorEric Freese <ericdfreese@gmail.com>2019-04-09 12:34:04 -0600
committerPeter Stephenson <p.stephenson@samsung.com>2019-04-10 09:44:58 +0100
commit5c165453ab1d0a91a0b7a5c8493bafddad4eaab2 (patch)
tree478f8badf6ba2599040234e8785a0b66a2ddd991 /Src
parentc5519372808d78519e1bac2db165d19a34534f74 (diff)
downloadzsh-5c165453ab1d0a91a0b7a5c8493bafddad4eaab2.tar.gz
zsh-5c165453ab1d0a91a0b7a5c8493bafddad4eaab2.tar.xz
zsh-5c165453ab1d0a91a0b7a5c8493bafddad4eaab2.zip
44214: <(...) substitutions shouldn't grab the terminal
Diffstat (limited to 'Src')
-rw-r--r--Src/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/exec.c b/Src/exec.c
index 79ef83c1e..6ac852112 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -4984,7 +4984,7 @@ getpipe(char *cmd, int nullexec)
 	procsubstpid = pid;
 	return pipes[!out];
     }
-    entersubsh(ESUB_PGRP, NULL);
+    entersubsh(ESUB_ASYNC|ESUB_PGRP, NULL);
     redup(pipes[out], out);
     closem(FDT_UNUSED, 0);	/* this closes pipes[!out] as well */
     cmdpush(CS_CMDSUBST);