Searched refs:spawnpid (Results 1 – 1 of 1) sorted by relevance
3775 static pid_t spawnpid; in sh_ntfork() local3796 spawnpid = 0; in sh_ntfork()3879 spawnpid = run_subshell(shp,t,grp); in sh_ntfork()3908 if(spawnpid>0) in sh_ntfork()3909 _sh_fork(shp,spawnpid,otype,jobid); in sh_ntfork()3912 while(tcsetpgrp(job.fd,job.curpgid)<0 && job.curpgid!=spawnpid) in sh_ntfork()3913 job.curpgid = spawnpid; in sh_ntfork()3919 if(spawnpid<0 && (otype&FCOOP)) in sh_ntfork()3927 return(spawnpid); in sh_ntfork()3940 spawnpid = -1; in sh_ntfork()[all …]