diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-01-18 01:19:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-18 01:19:11 (GMT) |
commit | f8fc8534c4abd384160b3b03a253bb0a30e6ba68 (patch) | |
tree | a9c30890e7b6c2bfcebd932863700a002b12e7a0 /Python/pytime.c | |
parent | 2c9cf64a3fa2b476c66eb80970e02933b7d33d05 (diff) | |
download | cpython-f8fc8534c4abd384160b3b03a253bb0a30e6ba68.zip cpython-f8fc8534c4abd384160b3b03a253bb0a30e6ba68.tar.gz cpython-f8fc8534c4abd384160b3b03a253bb0a30e6ba68.tar.bz2 |
[3.12] gh-104522: Fix OSError raised when run a subprocess (GH-114195) (#114219)
gh-104522: Fix OSError raised when run a subprocess (GH-114195)
Only set filename to cwd if it was caused by failed chdir(cwd).
_fork_exec() now returns "noexec:chdir" for failed chdir(cwd).
(cherry picked from commit e2c097ebdee447ded1109f99a235e65aa3533bf8)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Robert O'Shea <PurityLake@users.noreply.github.com>
Diffstat (limited to 'Python/pytime.c')
0 files changed, 0 insertions, 0 deletions