Revert "blocking only if pipes_to_next_command breaks things like read.expect test"

This reverts commit c3d756b5df0a2fdbe91cf892325249ee255b57ed.
It was meant for the major branch.
This commit is contained in:
Kurtis Rader 2017-08-13 15:26:30 -07:00
parent 8c86d258e8
commit bd601019fe

View File

@ -518,7 +518,6 @@ 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