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.
When editing crontab, if the user or system has set the
G_DEBUG
orG_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
andG_DEBUG_MESSAGES
from the cloned environment for subprocesses when executing in a flatpak environment to avoid this.