Thanks for adding the backgrounding functionality in https://pagure.io/python-pytest-multihost/pull-request/5 !
I had this in mind in the original design, but as it wasn't needed, I didn't put it in.
However, for every command started with bg=True, the test should ideally wait, using cmd.wait(), for the process to end (potentially after killing the process in some way).
At that point, the stdout/stderr should be available, and everything should be cleaned up properly.
Could you update the test to do that, and maybe mention it in the docstring?
Sure will add by this week .
Metadata Update from @pviktori:
- Issue status updated to: Closed (was: Open)
to comment on this ticket.