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

Prevent flatpak-spawn debug messages from polluting stdout #28

Merged
merged 2 commits into from
Feb 28, 2024

Conversation

stewartadam
Copy link
Owner

When editing crontab, if the user or system has set the G_DEBUG or G_DEBUG_MESSAGES environment variables, then flakpat-spawn injects its own output into the captured stdout of executed commands, breaking crontab parsing.

This PR removes G_DEBUG and G_DEBUG_MESSAGES from the cloned environment for subprocesses when executing in a flatpak environment to avoid this.

@stewartadam stewartadam merged commit 2caf7da into main Feb 28, 2024
@stewartadam stewartadam deleted the bugfix/flatpak-verbose branch February 28, 2024 10:13
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.

None yet

1 participant