Lines Matching refs:shell
748 char *shell; local
750 shell = str_val(global(EXECSHELL_STR));
751 if (shell && *shell)
752 shell = search(shell, path, X_OK, (int *) 0);
753 if (!shell || !*shell)
754 shell = EXECSHELL;
824 shell = a0;
833 char *p = shell;
835 shell = str_val(global("EXECSHELL"));
836 if (shell && *shell)
837 shell = search(shell, path, X_OK, (int *) 0);
838 if (!shell || !*shell) {
839 shell = p;
849 *tp->args = shell;
854 errorf("%s: %s: %s", tp->str, shell, strerror(errno));