1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-24 22:01:47 +03:00
wezterm/pty
Wez Furlong 404d742c14 Teach wezterm how to spawn programs when running in flatpak
This commit allows wezterm to spawn programs into the host rather
than in the container environment.

It feels weird that it is so trivial to "break out" of the container
sandbox, but I'm not complaining.

There are some unfortunate consequences:

* there is no `wezterm` installed on the host, so no ability to `wezterm
  cli` to control it from other apps
* The unix domain socket is scoped inside the sandbox, so there's "no
  way" for `wezterm cli` to reach inside anyway.

But: with this, it is at least usable to start a flatpak and open a
shell.

refs: https://github.com/wez/wezterm/issues/2229
2022-08-03 07:04:31 -07:00
..
examples pty: update async example for more recent smol release 2020-10-03 11:15:57 -07:00
src Teach wezterm how to spawn programs when running in flatpak 2022-08-03 07:04:31 -07:00
Cargo.toml pty: pre-fill base env from registry env settings on Windows 2022-04-19 09:56:23 -07:00