I'd favor 7. (as a short-term, low-profile solution).
In reply to Re: Dealing with IO::Capture bugs by almut in thread Dealing with IO::Capture bugs by Xiong