void do_wait (const char *prog, struct pex_obj *pex) { int ret = collect_wait (prog, pex); if (ret != 0) fatal_error (input_location, "%s returned %d exit status", prog, ret); }
static int tlink_execute (const char *prog, char **argv, const char *redir) { collect_execute (prog, argv, redir); return collect_wait (prog); }