Junio C Hamano <gitster@xxxxxxxxx> writes: > Ilari Liusvaara <ilari.liusvaara@xxxxxxxxxxx> writes: > >> Previously run-command was unable to report errors happening in exec >> call. Change it to pass errno from failed exec to errno value at >> return. >> >> The errno value passing can be done by opening close-on-exec pipe and >> piping the error code through in case of failure. In case of success, >> close-on-exec closes the pipe on successful exec and parent process >> gets end of file on read. > > Thanks; I think overall this is a good idea, even though I have no clue > if WIN32 side wants a similar support. By the way, at least it should be pretty straightforward to add a test or two for [1/2] if not [2/2]. -- 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