Searched refs:spawnpid (Results 1 – 1 of 1) sorted by relevance
2978 static pid_t spawnpid; in sh_ntfork() local2999 spawnpid = 0; in sh_ntfork()3076 spawnpid = run_subshell(t,grp); in sh_ntfork()3104 if(spawnpid>0) in sh_ntfork()3105 _sh_fork(spawnpid,otype,jobid); in sh_ntfork()3108 while(tcsetpgrp(job.fd,job.curpgid)<0 && job.curpgid!=spawnpid) in sh_ntfork()3109 job.curpgid = spawnpid; in sh_ntfork()3115 if(spawnpid<0 && (otype&FCOOP)) in sh_ntfork()3123 return(spawnpid); in sh_ntfork()3136 spawnpid = -1; in sh_ntfork()[all …]