Skip to content

[3.11] gh-104522: Fix OSError raised when run a subprocess (GH-114195)#114243

Merged
serhiy-storchaka merged 1 commit intopython:3.11from
serhiy-storchaka:backport-e2c097e-3.11
Jan 18, 2024
Merged

[3.11] gh-104522: Fix OSError raised when run a subprocess (GH-114195)#114243
serhiy-storchaka merged 1 commit intopython:3.11from
serhiy-storchaka:backport-e2c097e-3.11

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Jan 18, 2024

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 e2c097e)

…honGH-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 e2c097e)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Robert O'Shea <PurityLake@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant