void fork_execute (const char *prog, char **argv, bool use_atfile) { struct pex_obj *pex; pex = collect_execute (prog, argv, NULL, NULL, PEX_LAST | PEX_SEARCH, use_atfile); do_wait (prog, pex); }
static int tlink_execute (const char *prog, char **argv, const char *redir) { collect_execute (prog, argv, redir); return collect_wait (prog); }