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

Work around flatpak PTY related bugs #794

Merged
merged 1 commit into from
Aug 27, 2022
Merged

Conversation

christianparpart
Copy link
Member

@christianparpart christianparpart commented Aug 27, 2022

Apparrently one shall not enable controlling terminal for the child process, which happens to be flatpak-spawn when running within flatpak sandboxed environment. This is just a workaround for something that is hopefully(!) fixed soon-ish.

Apart from that, flatpak-spawn is now also properly forwarding file descriptor 3 (stdout-fastpipe).

References

@github-actions github-actions bot added documentation Improvements or additions to documentation VT: Backend Virtual Terminal Backend (libterminal API) labels Aug 27, 2022
@christianparpart christianparpart merged commit f0d7c78 into master Aug 27, 2022
@christianparpart christianparpart deleted the fix/flatpak-pty branch August 27, 2022 17:54
sebastian-de added a commit to flathub/dev.lapce.lapce that referenced this pull request Sep 18, 2022
Workaround for the following flatpak bug: flatpak/flatpak#3285
Idea taken from here: contour-terminal/contour#794
sebastian-de added a commit to flathub/dev.lapce.lapce that referenced this pull request Sep 19, 2022
Temporary workaround for the following flatpak-spawn bug: flatpak/flatpak-xdg-utils#57
Idea taken from here: contour-terminal/contour#794
sebastian-de added a commit to flathub/dev.lapce.lapce that referenced this pull request Sep 19, 2022
Temporary workaround for the following flatpak-spawn bug: flatpak/flatpak-xdg-utils#57
Idea taken from here: contour-terminal/contour#794
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation VT: Backend Virtual Terminal Backend (libterminal API)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant