Lines Matching refs:pipeline_pgrp
184 pid_t pipeline_pgrp = (pid_t)0;
456 pipeline_pgrp = 0;
568 newjob->pgrp = pipeline_pgrp;
569 pipeline_pgrp = 0;
1219 if (pipeline_pgrp && pipeline_pgrp != shell_pgrp)
1221 killpg (pipeline_pgrp, SIGTERM);
1222 killpg (pipeline_pgrp, SIGCONT);
1753 if (pipeline_pgrp == 0) /* This is the first child. */
1754 pipeline_pgrp = mypid;
1757 if (pipeline_pgrp == shell_pgrp)
1770 if (setpgid (mypid, pipeline_pgrp) < 0)
1771 sys_error (_("child setpgid (%ld to %ld)"), (long)mypid, (long)pipeline_pgrp);
1774 pipeline_pgrp == shell_pgrp, we are making a child for
1779 if (async_p == 0 && pipeline_pgrp != shell_pgrp && ((subshell_environment&SUBSHELL_ASYNC) == 0))
1780 give_terminal_to (pipeline_pgrp, 0);
1783 if (pipeline_pgrp == mypid)
1789 if (pipeline_pgrp == 0)
1790 pipeline_pgrp = shell_pgrp;
1834 if (pipeline_pgrp == 0)
1836 pipeline_pgrp = pid;
1839 /* give_terminal_to (pipeline_pgrp, 0); */
1845 setpgid (pid, pipeline_pgrp);
1849 if (pipeline_pgrp == 0)
1850 pipeline_pgrp = shell_pgrp;
4119 /* If we're turning on job control, reset pipeline_pgrp so make_child will
4122 pipeline_pgrp = 0;