Added pid logging to subprocess

pull/8880/head
David Garcia Quintas 8 years ago
parent 6deadf5b88
commit a05909faf2
  1. 3
      src/core/lib/support/subprocess_posix.c

@ -97,7 +97,8 @@ retry:
if (errno == EINTR) {
goto retry;
}
gpr_log(GPR_ERROR, "waitpid failed: %s", strerror(errno));
gpr_log(GPR_ERROR, "waitpid failed for pid %d: %s", p->pid,
strerror(errno));
return -1;
}
return status;

Loading…
Cancel
Save