Commit 93cdda2
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 fc0305a commit 93cdda2
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
308 | | - | |
309 | | - | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
310 | 318 | | |
311 | 319 | | |
312 | 320 | | |
| |||
0 commit comments