A missing binary used to be indistinguishable from a program exiting with
127, so callers treated a command that never ran as a started process. A
close-on-exec pipe now carries the errno back to the parent and the failure
reaches the caller as output.
Offer a single window to install and switch between XFCE, GNOME, Plasma,
Hyprland and i3. Installation goes through pkexec and pacman, switching
uses logind sessions, so neither action requires a reboot.
Activate the target graphical session instead of rebooting, so a KDE or
GNOME session stays alive while another one is used. Switching relies on
logind VT activation, which needs no root privileges and never restarts
the display manager.