#1085486 RFP: host-spawn -- Run commands on your host machine from inside your flatpak sandbox, toolbox or distrobox containers

#1085486#5
Date:
2024-10-20 01:57:48 UTC
From:
To:
* Package name    : host-spawn
  Version         : 1.6.0
  Upstream Contact: Stéphane Travostino
* URL             : https://github.com/1player/host-spawn
* License         : MIT-0
  Programming Lang: Go
  Description     : Run commands on your host machine from inside your flatpak sandbox, toolbox or distrobox containers

This package is useful for anyone using Debian inside a toolbx or
distrobox container, so that they can launch commands on the host machine.
For instance, I use a Debian toolbx on a host running Fedora Silverblue,
and I use host-spawn to call xdg-open on the host machine, so that I
can easily open a document (e.g., an image or pdf) from the terminal
using the flatpak apps installed on my host machine.

I am not aware of any other package with similar functionality.
distrobox has a similar command called distrobox-host-exec, but
it calls host-spawn under the hood.