[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>
S
Serhiy Storchaka committed
2c9872428e65d32e5896cdf4d633027e88680491
Parent: 9887b0c
Committed by GitHub <noreply@github.com>
on 1/18/2024, 11:32:57 AM