containers / toolbox

Tool for interactive command line environments on Linux
https://containertoolbx.org/
Apache License 2.0
2.58k stars 219 forks source link

Unable to run fzf through flatpak-spawn #1519

Closed josecastillolema closed 2 weeks ago

josecastillolema commented 4 months ago

Describe the bug Unable to run fzf through flatpak-spawn:

⬢ [toolbox:40] |> flatpak-spawn --host fzf
failed to open /dev/tty

Output of toolbox --version (v0.0.90+) toolbox version 0.0.99.5

Toolbx package info (rpm -q toolbox) toolbox-0.0.99.5-11.fc40.x86_64

Output of podman version

Client:       Podman Engine
Version:      5.1.1
API Version:  5.1.1
Go Version:   go1.22.3
Built:        Tue Jun  4 02:00:00 2024
OS/Arch:      linux/amd64

Podman package info (rpm -q podman) podman-5.1.1-1.fc40.x86_64

Info about your OS Fedora Atomic Sway 40

Additional context May be related to https://github.com/containers/crun/issues/1158

debarshiray commented 1 month ago

Interesting.

I am curious why you wanted to use fzf through flatpak-spawn? Were you looking for something on the host? Maybe you can run fzf inside the container and point it at /run/host instead?

debarshiray commented 2 weeks ago

I am tentatively closing this one. Please leave a comment if you have reason to believe otherwise.

Thanks for playing with Toolbx.