Lines Matching refs:program
1 /* Utilities to execute a program in a subprocess (possibly linked by pipes
69 /* pexecute: execute a program.
73 THIS_PNAME is name of the calling program (i.e. argv[0]).
122 the code behaves like it does. pexecute runs the program, tucks the
134 pexecute (program, argv, this_pname, temp_base, errmsg_fmt, errmsg_arg, flags)
135 const char *program;
153 rc = (flags & PEXECUTE_SEARCH ? spawnvp : spawnv) (1, program, argv);
159 scmd = (char *) xmalloc (strlen (program) + strlen (temp_base) + 6 + el);
160 rf = scmd + strlen(program) + 2 + el;
161 sprintf (scmd, "%s%s @%s.gp", program,
200 *errmsg_arg = program;
303 pexecute (program, argv, this_pname, temp_base, errmsg_fmt, errmsg_arg, flags)
304 const char *program;
362 (_P_NOWAIT, program, fix_argv(argv));
379 *errmsg_arg = program;
431 pexecute (program, argv, this_pname, temp_base, errmsg_fmt, errmsg_arg, flags)
432 const char *program;
444 pid = (flags & PEXECUTE_SEARCH ? spawnvp : spawnv) (1, program, argv);
448 *errmsg_arg = program;
488 pexecute (program, argv, this_pname, temp_base, errmsg_fmt, errmsg_arg, flags)
489 const char *program;
500 mpwify_filename (program, tmpprogram);
569 We have to be careful to collect the status from the program that was
611 pexecute (program, argv, this_pname, temp_base, errmsg_fmt, errmsg_arg, flags)
612 const char *program;
694 /* Exec the program. */
695 (*func) (program, argv);
699 fprintf (stderr, install_error_msg, program);