| /src/usr.bin/mail/ |
| mime_child.c | 135 char *shellcmd; local 136 if ((shellcmd = value(ENAME_SHELL)) == NULL) 137 shellcmd = __UNCONST(_PATH_CSHELL); 138 (void)sasprintf(&cp, "%s -c '%s'", shellcmd, cmd);
|
| collect.c | 158 const char *shellcmd; local 179 if ((shellcmd = value(ENAME_SHELL)) == NULL) 180 shellcmd = _PATH_CSHELL; 181 if (run_command(shellcmd, 625 const char *shellcmd; local 645 if ((shellcmd = value(ENAME_SHELL)) == NULL) 646 shellcmd = _PATH_CSHELL; 648 rc2 = run_command(shellcmd, NULL, nullfd, fileno(fbuf), "-c", cp + 1, NULL);
|
| names.c | 335 const char *shellcmd; local 345 if ((shellcmd = value(ENAME_SHELL)) == NULL) 346 shellcmd = _PATH_CSHELL; 351 pid = start_command(shellcmd, &nset,
|
| popen.c | 244 char *shellcmd; local 257 if ((shellcmd = value(ENAME_SHELL)) == NULL) 258 shellcmd = __UNCONST(_PATH_CSHELL); 259 pid = start_command(shellcmd, &nset, fd0, fd1, "-c", cmd, NULL);
|
| cmd3.c | 145 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);
|
| /src/external/bsd/tmux/dist/ |
| cmd-if-shell.c | 79 char *shellcmd; local 86 shellcmd = format_single_from_target(item, args_string(args, 0)); 88 if (*shellcmd != '0' && *shellcmd != '\0') 93 free(shellcmd); 96 free(shellcmd); 121 if (job_run(shellcmd, 0, NULL, NULL, s, 125 cmdq_error(item, "failed to run command: %s", shellcmd); 126 free(shellcmd); 130 free(shellcmd); [all...] |
| cmd-display-menu.c | 392 const char *value, *shell, *shellcmd = NULL; local 449 shellcmd = options_get_string(s->options, 452 shellcmd = args_string(args, 0); 453 if (count <= 1 && (shellcmd == NULL || *shellcmd == '\0')) { 454 shellcmd = NULL; 513 if (popup_display(flags, lines, item, px, py, w, h, env, shellcmd, argc,
|
| /src/external/bsd/less/dist/ |
| filename.c | 548 static FILE * shellcmd(char *cmd) function 744 fd = shellcmd(cmd); 884 fd = shellcmd(cmd); 977 fd = shellcmd(cmd);
|
| command.c | 78 static char *shellcmd = NULL; /* For holding last shell command for "!!" */ variable 304 * !! just uses whatever is in shellcmd. 305 * Otherwise, copy cmdbuf to shellcmd, 310 if (shellcmd != NULL) 311 free(shellcmd); 312 shellcmd = fexpand(cbuf); 317 if (shellcmd == NULL) 320 lsystem(shellcmd, "!done");
|
| /src/usr.bin/make/ |
| parse.c | 2858 const char *shellcmd = NULL; local 2865 shellcmd = semicolon + 1; 2880 if (shellcmd != NULL) 2881 ParseLine_ShellCommand(shellcmd);
|