Jani Mikkonen added the comment:
@xtreak
I went thru the comments of the report you linked. It definitely looks like the
discussion was related but it didnt really fix the issue here.
https://bugs.python.org/issue31961#msg311775 without trying out, that comment
actually touches the
New submission from Jani Mikkonen :
Following code:
```
from pathlib import Path
import os
import subprocess
dir_name = os.environ.get("WORKSPACE", None) or "."
output_directory = Path(dir_name) / "results"
res = subprocess.run(["mytest", "--output