<div dir="ltr"><br><div>I&#39;ve spent a lot of time trying to figure this out, so I thought I&#39;d ask those who have more experience with Pytest.</div><div><br></div><div>I&#39;m running Python 2.7.14 on Windows 7 Pro (64-bit), pytest 3.5.0</div><div><br></div><div>Is there any reason a test running under pytest shouldn&#39;t spawn a subprocess, or</div><div>take special care when spawning it?</div><div><br></div><div>I&#39;m not able to get a subprocess to launch usingĀ subprocess.Popen() inside of a pytest test, but I can run spawn the subrpocess outside of pytest.</div><div><br></div><div>I don&#39;t know if I can attach my code to this post.</div><div><br></div><div>I&#39;ll provide more details and the code, after the reply.</div><div><br></div><div>Thanks</div><div><br></div></div>