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

Ensure that sys.executable returns the correct value #41

Merged
merged 1 commit into from
Apr 25, 2024
Merged

Conversation

freakboy3742
Copy link
Member

The current stub binary used in a packaged system app returns sys.executable as python3. This is neither correct, nor helpful.

We can use argv[0] (unlike the system template) because flatpak binaries are always executed inside the container with the full path.

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

@freakboy3742 freakboy3742 requested a review from mhsmith April 24, 2024 04:25
@mhsmith mhsmith merged commit 4b5ef24 into main Apr 25, 2024
21 checks passed
@freakboy3742 freakboy3742 deleted the exec-name branch April 25, 2024 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants