[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>
M
Miss Islington (bot) committed
f8fc8534c4abd384160b3b03a253bb0a30e6ba68
Parent: 2c9cf64
Committed by GitHub <noreply@github.com>
on 1/18/2024, 1:19:11 AM