summaryrefslogtreecommitdiff
path: root/test-run-command.c
AgeCommit message (Collapse)AuthorFilesLines
2010-01-10start_command: detect execvp failures earlyLibravatar Johannes Sixt1-0/+35
Previously, failures during execvp could be detected only by finish_command. However, in some situations it is beneficial for the parent process to know earlier that the child process will not run. The idea to use a pipe to signal failures to the parent process and the test case were lifted from patches by Ilari Liusvaara. Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>