Johannes Sixt <johannes.sixt@xxxxxxxxxx> writes: > ... But practically in the case > where a fd > 0 is assigned to .in/.out/.err: > > - case .out, .err: the caller is required to close the fd early after > start_command() because (if this is a pipe) the child won't see EOF; > > - case .in: the caller must not read from the fd anyway, else the child gets > inconsistent input. > > So, while there *is* some inconsistency, the inconsistent cases can be clearly > separated into the cases fd > 0 and fd == -1. Ok, sold. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html