diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2024-01-18 11:32:57 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-18 11:32:57 (GMT) |
| commit | 2c9872428e65d32e5896cdf4d633027e88680491 (patch) | |
| tree | 3d431277d2250aba7f08a2d7042445e448df0c91 /Python/pythonrun.c | |
| parent | 9887b0c39630a727a838eef85543173a5467d855 (diff) | |
| download | cpython-2c9872428e65d32e5896cdf4d633027e88680491.zip cpython-2c9872428e65d32e5896cdf4d633027e88680491.tar.gz cpython-2c9872428e65d32e5896cdf4d633027e88680491.tar.bz2 | |
[3.11] gh-104522: Fix OSError raised when run a subprocess (GH-114195) (GH-114243)
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: Robert O'Shea <PurityLake@users.noreply.github.com>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions
