Closed
Description
Bug report
Bug description:
The return code at the end here is 0
when it should be 25
aka ENOTTY
:
import subprocess
proc = subprocess.Popen(["./python", "-m", "asyncio"], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
with proc:
try:
out, err = proc.communicate()
finally:
proc.kill()
proc.returncode
note: I tested this with --disable-gil
configured
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
Metadata
Metadata
Assignees
Projects
Status