#6 Use `cmd.wait()` after running a command with `bg=True`
Closed Opened by pviktori.

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 .

See https://pagure.io/python-pytest-multihost/pull-request/11

Metadata Update from @pviktori:
- Issue status updated to: Closed (was: Open)

Metadata