On 31.01.2021 19:28, David Holland wrote:
(I'm not sure how much of the jobs/non-jobs copypasting you've cleaned up lately, if any, since I'm way behind on reading the diffs.)
That's exactly my point here. I've already cleaned up the part where the shell programs are written in jobs mode, and I wrote a single unit test to demonstrate that the job markers "--- job-a ---" do not always appear at the beginning of a line. Other than that, it's not as simple as waiting for a single child process, as there are the multiple communication pipes, plus updating of the jobs table and probably a few more subtleties. That's why I consider myself still unfamiliar with that part. Roland