According to the docs, on Linux this is equivalent to using "xdg-open filename".
When I run xdg-open file.txt it lets me edit the file using the helix editor in the current terminal window.
But if I use cargo run 'file.txt' it freezes, and Ctrl-C won't kill it.
I believe this comes from /home/brian/.nix-profile/share/applications/Helix.desktop which clearly has Terminal=true, so either it should work, open a terminal window, or we should ignore applications that have this setting.
But just hanging seems to be wrong.
According to the docs, on Linux this is equivalent to using "xdg-open filename".
When I run
xdg-open file.txtit lets me edit the file using the helix editor in the current terminal window.But if I use
cargo run 'file.txt'it freezes, and Ctrl-C won't kill it.I believe this comes from
/home/brian/.nix-profile/share/applications/Helix.desktopwhich clearly hasTerminal=true, so either it should work, open a terminal window, or we should ignore applications that have this setting.But just hanging seems to be wrong.