Lines Matching refs:command
2 * shell_cmd() takes a shell command after %<character> substitutions. The
3 * command is executed by a /bin/sh child process, with standard input,
34 /* shell_cmd - execute shell command */
36 void shell_cmd(command)
37 char *command;
52 do_child(command);
60 /* do_child - exec command with { stdin, stdout, stderr } to /dev/null */
62 static void do_child(command)
63 char *command;
75 /* Set up new stdin, stdout, stderr, and exec the shell command. */
84 (void) execl("/bin/sh", "sh", "-c", command, (char *) 0);