Lines Matching defs:commands
864 {"--no-line-commands", "-P", 0},
1326 /* Number of commands executed so far. */
1330 /* Number of commands that exited with a signal. */
1368 /* Suffix to attach to directories searched for commands.
1373 /* Suffix to attach to directories searched for commands.
2228 When using pipes, this includes several piped-together commands
2246 struct command *commands; /* each command buffer with above info. */
2248 /* Count # of piped commands. */
2254 commands
2261 commands[0].prog = argbuf[0]; /* first command. */
2262 commands[0].argv = &argbuf[0];
2263 string = find_a_file (&exec_prefixes, commands[0].prog, X_OK);
2266 commands[0].argv[0] = string;
2275 commands[n_commands].prog = argbuf[i + 1];
2276 commands[n_commands].argv = &argbuf[i + 1];
2277 string = find_a_file (&exec_prefixes, commands[n_commands].prog, X_OK);
2279 commands[n_commands].argv[0] = string;
2298 for (j = commands[i].argv; *j; j++)
2325 char *string = commands[i].argv[0];
2327 commands[i].pid = pexecute (string, commands[i].argv,
2332 | (string == commands[i].prog
2336 if (commands[i].pid == -1)
2339 if (string != commands[i].prog)
2360 pid = pwait (commands[i].pid, &status, 0);
2365 if (commands[j].pid == pid)
2373 commands[j].prog, WTERMSIG (status));
3404 /* Process a spec string, accumulating and running commands. */
3442 /* Process the spec SPEC and run the commands specified therein.
3715 and don't execute any more commands for this file. */