blocking only if pipes_to_next_command breaks things like read.expect test

This commit is contained in:
Mahmoud Al-Qudsi 2017-07-29 12:30:49 -05:00 committed by Kurtis Rader
parent b27217e106
commit c3d756b5df

View File

@ -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