44635: Don't apply STAT_NOPRINT to backgrounded jobs

This commit is contained in:
Peter Stephenson 2019-08-03 19:48:18 +01:00
parent 90fa6ee042
commit e0d063a2ad
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2019-08-03 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 44635: Src/exec.c: don't apply STAT_NOPRINT to backgrounded
jobs.
2019-08-03 Peter Stephenson <p.stephenson@samsung.com>
* 44637: Shlomi Fish: Src/makepro.awk: "=" doesn't need quoting

View File

@ -1690,7 +1690,8 @@ execpline(Estate state, wordcode slcode, int how, int last1)
lastwj = thisjob = newjob;
if (list_pipe || (pline_level && !(how & Z_TIMED)))
if (list_pipe || (pline_level && !(how & Z_TIMED) &&
!(jn->stat & STAT_NOSTTY)))
jn->stat |= STAT_NOPRINT;
if (nowait) {