For now, this is just syntactic sugar for prepending env(1) to the
command we run, but adding new API to flatpak-portal will let us stop
doing that.
flatpak-spawn: Use unset-env option if subsandbox portal >= v5
This is a client-side for flatpak/flatpak@c4a58d58, with a fallback implementation in terms of env -u that is used on older flatpak versions or with --host.
Based on code that I wrote for Steam's pressure-vessel-launch, a tool to launch subprocesses from an IPC server inside a container, which in turn is based on flatpak-spawn.
42 (please see that PR for details)
flatpak-spawn: Add an --unset-env option
For now, this is just syntactic sugar for prepending env(1) to the command we run, but adding new API to flatpak-portal will let us stop doing that.
flatpak-spawn: Use unset-env option if subsandbox portal >= v5
This is a client-side for flatpak/flatpak@c4a58d58, with a fallback implementation in terms of
env -u
that is used on older flatpak versions or with--host
.Based on code that I wrote for Steam's pressure-vessel-launch, a tool to launch subprocesses from an IPC server inside a container, which in turn is based on flatpak-spawn.