gh-104522: Fix OSError raised when run a subprocess (#114195)
Only set filename to cwd if it was caused by failed chdir(cwd). _fork_exec() now returns "noexec:chdir" for failed chdir(cwd). Co-authored-by: Robert O'Shea <PurityLake@users.noreply.github.com>
S
Serhiy Storchaka committed
e2c097ebdee447ded1109f99a235e65aa3533bf8
Parent: 4c7e09d
Committed by GitHub <noreply@github.com>
on 1/18/2024, 12:52:42 AM