mirror of
https://github.com/git/git.git
synced 2026-03-13 18:33:25 +01:00
Report failure when a process cannot be spawned (MinGW only).
This commit is contained in:
@@ -85,6 +85,8 @@ int spawnvpe_pipe(const char *cmd, const char **argv, const char **env,
|
||||
quote_argv(qargv, argv);
|
||||
|
||||
pid = spawnvpe(_P_NOWAIT, cmd, qargv, env);
|
||||
if (pid < 0)
|
||||
die("unable to run %s", cmd);
|
||||
|
||||
free(qargv); /* TODO: quoted args should be freed, too */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user