Lines Matching refs:shellPath
436 const char *shellPath = NULL; /* full pathname of executable image */
437 const char *shellName = NULL; /* last component of shellPath */
1514 (void)execv(shellPath, argv);
1515 execDie("exec", shellPath);
2143 shellPath = shellName;
2144 shellName = str_basename(shellPath);
2149 shellPath = str_concat3(_PATH_DEFSHELLDIR, "/", shellName);
2155 if (shellPath == NULL)
2158 Var_SetWithFlags(SCOPE_CMDLINE, ".SHELL", shellPath, VAR_SET_READONLY);
2342 * Parse a shell specification and set up 'shell', shellPath and
2353 * created from the shell spec), shellPath is the full path of the
2355 * final component of shellPath.
2469 * right way. shellPath will be set up by Shell_Init.
2485 if (shellPath != NULL) {
2490 free(UNCONST(shellPath));
2491 shellPath = NULL;
2503 shellPath = path;
2506 path = UNCONST(shellPath);