expect_background "returns immediately" according to expect.man. This does not hold - and worse, it depends on whether the buffer is pre-populated. Attached a simple script to reproduce plus a patch.
Log in to post a comment.