On Tue, Apr 27, 2021 at 10:58 AM Marlon Richert <marlon.richert@xxxxxxxxx> wrote: > > Bart's solution fails for that case, too, btw: Well, you can't just wait for the SIGTTOU, you also have to guarantee that the PS1 prompt has been printed. That's the tricky bit.