Searched refs:SH_NOFORK (Results 1 – 4 of 4) sorted by relevance
564 if(!(sp->nofork = sh_state(SH_NOFORK))) in sh_subshell()565 sh_onstate(SH_NOFORK); in sh_subshell()566 flags |= sh_state(SH_NOFORK); in sh_subshell()571 flags &= ~sh_state(SH_NOFORK); in sh_subshell()597 sh_offstate(SH_NOFORK); in sh_subshell()
510 sh_exec(t,sh_isstate(SH_ERREXIT)|sh_isstate(SH_NOFORK)|(mode&~SH_FUNEVAL)); in sh_eval()663 int execflg = (type&sh_state(SH_NOFORK)); in sh_exec()918 int was_nofork = execflg?sh_isstate(SH_NOFORK):0; in sh_exec()940 sh_onstate(SH_NOFORK); in sh_exec()1039 sh_offstate(SH_NOFORK); in sh_exec()1361 sh_exec(t->fork.forktre,flags|sh_state(SH_NOFORK)|sh_state(SH_FORKED)); in sh_exec()1455 …(!shp->subshell && !shp->st.trapcom[0] && !shp->st.trap[SH_ERRTRAP] && (flags&sh_state(SH_NOFORK))) in sh_exec()
597 execflags |= sh_state(SH_NOFORK); in exfile()
262 #define SH_NOFORK 0 /* set when fork not necessary */ macro