Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Jan 18, 2024

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington 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)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com
Co-authored-by: Robert O'Shea PurityLake@users.noreply.github.com

…14195)

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>
@gpshead gpshead enabled auto-merge (squash) January 18, 2024 00:54
@gpshead gpshead merged commit f8fc853 into python:3.12 Jan 18, 2024
28 checks passed
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.

None yet

3 participants