Lines Matching refs:spawn
76 static pid_t path_pfexecve(const char *path, char *argv[],char *const envp[],int spawn) in path_pfexecve() argument
81 if(spawn) in path_pfexecve()
151 static pid_t path_xargs(const char *path, char *argv[],char *const envp[], int spawn) in path_xargs() argument
169 if(!spawn) in path_xargs()
194 if(saveargs || av<avlast || (exitval && !spawn)) in path_xargs()
209 else if(spawn && !sh_isoption(SH_PFSH)) in path_xargs()
212 return(_spawnveg(path,argv,envp,spawn>>1)); in path_xargs()
215 return(path_pfexecve(path,argv,envp,spawn)); in path_xargs()
217 if(!spawn) in path_xargs()
1011 …d_t path_spawn(const char *opath,register char **argv, char **envp, Pathcomp_t *libpath, int spawn) in path_spawn() argument
1025 pidsize = sfprintf(stkstd,"*%d*",spawn?getpid():getppid()); in path_spawn()
1125 if(spawn && !sh_isoption(SH_PFSH)) in path_spawn()
1126 pid = _spawnveg(opath, &argv[0],envp, spawn>>1); in path_spawn()
1128 pid = path_pfexecve(opath, &argv[0] ,envp,spawn); in path_spawn()
1158 if(spawn) in path_spawn()
1209 pid = path_xargs(opath, &argv[0] ,envp,spawn); in path_spawn()