mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-05 08:11:15 -03:00
Reapply "test_driver: support Python 3.8 for now"
Re-apply commitec27b418eafter it was accidentally reverted in5102c8b137(Update littlecheck, 2025-10-11), fixing a hang in e.g. sudo docker/docker_run_tests.sh docker/jammy.Dockerfile
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user