From 5c165453ab1d0a91a0b7a5c8493bafddad4eaab2 Mon Sep 17 00:00:00 2001 From: Eric Freese Date: Tue, 9 Apr 2019 12:34:04 -0600 Subject: 44214: <(...) substitutions shouldn't grab the terminal --- Src/exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src') 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); -- cgit 1.4.1