Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Small problem with suspend-a-loop patch (6707)



Sven Wischnowsky wrote:
> Bart Schaefer wrote:
> 
> > The first time a loop is suspended and then brought back into the foregroun
> d,
> > the job status is reported incorrectly; every time thereafter it's correct.
> 
> Oh. there was this explicit test to avoid setting the status of the
> last process of a super-job to SP_RUNNING (the last process is the
> shell forked for the tail of a pipeline).

This has fixed another problem that if you put a foreground process into
the background it wasn't reported when it exited.

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy



Messages sorted by: Reverse Date, Date, Thread, Author