Lines Matching refs:comsub
97 char comsub;
208 shp->comsub = 0;
455 * If comsub is not null, then output will be placed in temp file (or buffer)
456 * If comsub is not null, the return value will be a stream consisting of
460 Sfio_t *sh_subshell(Shell_t *shp,Shnode_t *t, int flags, int comsub)
511 if(comsub)
516 sp->comsub = shp->comsub;
517 shp->subshare = comsub==2 || (comsub==1 && sh_isoption(SH_SUBSHARE));
518 if(comsub)
519 shp->comsub = comsub;
520 if(!comsub || !shp->subshare)
544 if(comsub)
582 if(comsub!=2 && jmpval!=SH_JMPSUB && shp->st.trapcom[0] && shp->subshell)
602 if(comsub)
721 shp->comsub = sp->comsub;
752 if(comsub && iop && sp->pipefd<0)