From c3d756b5df0a2fdbe91cf892325249ee255b57ed Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Sat, 29 Jul 2017 12:30:49 -0500 Subject: [PATCH] blocking only if pipes_to_next_command breaks things like read.expect test --- src/exec.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/exec.cpp b/src/exec.cpp index bed8bf27c..258133261 100644 --- a/src/exec.cpp +++ b/src/exec.cpp @@ -518,6 +518,7 @@ void exec_job(parser_t &parser, job_t *j) { bool child_forked = false; bool child_spawned = false; // bool block_child = !needs_keepalive; + // bool block_child = pipes_to_next_command; bool block_child = true; // The pipes the current process write to and read from. Unfortunately these can't be just