diff --git a/tests/littlecheck.py b/tests/littlecheck.py index a275c7dfd..58dd80fd6 100755 --- a/tests/littlecheck.py +++ b/tests/littlecheck.py @@ -390,8 +390,9 @@ def runproc(cmd, env=None): async def runproc_async(cmd, env=None, cwd=None): """Wrapper around subprocess.Popen to save typing""" PIPE = asyncio.subprocess.PIPE + DEVNULL = asyncio.subprocess.DEVNULL return await asyncio.create_subprocess_shell( - cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE, env=env, cwd=cwd + cmd, stdin=DEVNULL, stdout=PIPE, stderr=PIPE, env=env, cwd=cwd )