Lines Matching defs:spawn
106 static pid_t path_pfexecve(Shell_t *shp,const char *path, char *argv[],char *const envp[],int spawn)
111 if(spawn)
159 * spawn is non-zero when invoked via spawn
162 static pid_t path_xargs(Shell_t *shp,const char *path, char *argv[],char *const envp[], int spawn)
180 if(!spawn)
205 if(saveargs || av<avlast || (exitval && !spawn))
220 else if(spawn && !sh_isoption(SH_PFSH))
223 return(_spawnveg(shp,path,argv,envp,spawn>>1));
226 return(path_pfexecve(shp,path,argv,envp,spawn));
228 if(!spawn)
1016 pid_t path_spawn(Shell_t *shp,const char *opath,register char **argv, char **envp, Pathcomp_t *libpath, int spawn)
1029 pidsize = sfprintf(stkstd,"*%d*",spawn?getpid():getppid());
1129 if(spawn && !sh_isoption(SH_PFSH))
1130 pid = _spawnveg(shp,opath, &argv[0],envp, spawn>>1);
1132 pid = path_pfexecve(shp,opath, &argv[0] ,envp,spawn);
1162 if(spawn)
1213 pid = path_xargs(shp,opath, &argv[0] ,envp,spawn);