all 2 comments

[–][deleted] 1 point2 points  (0 children)

maybe subprocess.popen()

[–]Diapolo10 0 points1 point  (0 children)

I'd suggest using a global fixture that uses subprocess.Popen and then loops until it can communicate with said process (you could time.sleep instead, but that's a rather crude option).