8000 gh-44123: Add note on relative path for os.exec* by slateny · Pull Request #93826 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-44123: Add note on relative path for os.exec* #93826

8000 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

Merged
merged 2 commits into from
Apr 24, 2023
Merged

Conversation

slateny
Copy link
Contributor
@slateny slateny commented Jun 15, 2022

@bedevere-bot bedevere-bot added docs Documentation in the Doc dir awaiting review lab 8000 els Jun 15, 2022
@kurtqq
Copy link
kurtqq commented Apr 3, 2023

is there a plan to merge this one?

@slateny slateny requested a review from zooba April 7, 2023 23:44
@zooba
Copy link
Member
zooba commented Apr 11, 2023

I'm not sure what this note is trying to suggest. If you pass a filename to a non-p function, then it won't even look in the current directory? You need at least a .\ to make anything work at all?

@slateny
Copy link
Contributor Author
slateny commented Apr 17, 2023

I'm not sure what this note is trying to suggest. If you pass a filename to a non-p function, then it won't even look in the current directory? You need at least a .\ to make anything work at all?

Yep, from testing either ./ or .\\, as just the filename alone will give a FileNotFoundError.

Co-authored-by: Steve Dower <steve.dower@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0