Searched refs:shellcmd (Results 1 - 12 of 12) sorted by relevance

/netbsd-6-1-5-RELEASE/usr.bin/mail/
H A Dmime_child.c137 char *shellcmd; local
138 if ((shellcmd = value(ENAME_SHELL)) == NULL)
139 shellcmd = __UNCONST(_PATH_CSHELL);
140 (void)sasprintf(&cp, "%s -c '%s'", shellcmd, cmd);
H A Dcollect.c158 const char *shellcmd; local
179 if ((shellcmd = value(ENAME_SHELL)) == NULL)
180 shellcmd = _PATH_CSHELL;
181 if (run_command(shellcmd,
619 const char *shellcmd; local
639 if ((shellcmd = value(ENAME_SHELL)) == NULL)
640 shellcmd = _PATH_CSHELL;
642 rc2 = run_command(shellcmd, NULL, nullfd, fileno(fbuf), "-c", cp + 1, NULL);
H A Dfio.c425 const char *shellcmd; local
468 if ((shellcmd = value(ENAME_SHELL)) == NULL)
469 shellcmd = _PATH_CSHELL;
470 pid = start_command(shellcmd, NULL, -1, pivec[1], "-c", cmdbuf, NULL);
H A Dpopen.c248 char *shellcmd; local
263 if ((shellcmd = value(ENAME_SHELL)) == NULL)
264 shellcmd = __UNCONST(_PATH_CSHELL);
265 pid = start_command(shellcmd, &nset, fd0, fd1, "-c", cmd, NULL);
H A Dcmd3.c145 const char *shellcmd; local
154 if ((shellcmd = value(ENAME_SHELL)) == NULL)
155 shellcmd = _PATH_CSHELL;
156 (void)run_command(shellcmd, NULL, 0, 1, "-c", cmd, NULL);
172 const char *shellcmd; local
176 if ((shellcmd = value(ENAME_SHELL)) == NULL)
177 shellcmd = _PATH_CSHELL;
178 (void)run_command(shellcmd, NULL, 0, 1, NULL);
H A Dnames.c325 const char *shellcmd; local
335 if ((shellcmd = value(ENAME_SHELL)) == NULL)
336 shellcmd = _PATH_CSHELL;
341 pid = start_command(shellcmd, &nset,
/netbsd-6-1-5-RELEASE/external/bsd/tmux/dist/
H A Dcmd-if-shell.c56 const char *shellcmd = args->argv[0]; local
67 job_run(shellcmd, cmd_if_shell_callback, cmd_if_shell_free, cdata);
H A Dcmd-run-shell.c56 const char *shellcmd = args->argv[0]; local
67 job_run(shellcmd, cmd_run_shell_callback, cmd_run_shell_free, cdata);
H A Dtmux.c191 shell_exec(const char *shell, const char *shellcmd) argument
212 execl(shell, argv0, "-c", shellcmd, (char *) NULL);
H A Dclient.c370 const char *shellcmd = data; local
418 shell_exec(shelldata.shell, shellcmd);
/netbsd-6-1-5-RELEASE/external/bsd/less/dist/
H A Dfilename.c69 static FILE *shellcmd __P((char *));
581 shellcmd(cmd) function
784 fd = shellcmd(cmd);
870 fd = shellcmd(cmd);
949 fd = shellcmd(cmd);
H A Dcommand.c65 static char *shellcmd = NULL; /* For holding last shell command for "!!" */ variable
264 * !! just uses whatever is in shellcmd.
265 * Otherwise, copy cmdbuf to shellcmd,
270 if (shellcmd != NULL)
271 free(shellcmd);
272 shellcmd = fexpand(cbuf);
277 if (shellcmd == NULL)
280 lsystem(shellcmd, "!done");

Completed in 90 milliseconds