Skip to content

Use correct SHELL and PATH when running commands on host

Mateus Melchiades requested to merge matbme/gnome-builder:host-path into main

This PR modifies how ide-shell checks for the user's PATH and SHELL variables, as well as ensuring the correct path is set when spawning a host shell with flatpak-spawn.

flatpak-spawn doesn't recognize user-appended PATH elements (such as the ones added inside .bashrc), so we need to make sure that the full PATH is added to the command as an env parameter.

Closes #1987 (closed)

Merge request reports