docs: clarify returncode behavior for subprocess_exec vs subprocess_s… · python/cpython@979128f · GitHub
Skip to content

Commit 979128f

Browse files
committed
docs: clarify returncode behavior for subprocess_exec vs subprocess_shell
Update asyncio.subprocess returncode documentation: - For create_subprocess_exec, negative values (-N) indicate termination by signal N (POSIX). - For create_subprocess_shell, the return code follows the invoked shell’s exit status (e.g. 128+N for signals in bash/sh).
1 parent 69cfad0 commit 979128f

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

Doc/library/asyncio-subprocess.rst

Lines changed: 10 additions & 2 deletions

0 commit comments

Comments
 (0)