Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminal applications do not get called as expected #124

Open
prescientmoon opened this issue Jan 11, 2024 · 3 comments
Open

Terminal applications do not get called as expected #124

prescientmoon opened this issue Jan 11, 2024 · 3 comments

Comments

@prescientmoon
Copy link

The exec field of terminal = true desktop entries seems to be treated like it's always the name of a binary. Is this normal? For instance, if exec = program --flag, an error will be thrown because the equivalent of wezterm -e "program --flag" is invoked, instead of wezterm -e program --flag, which would pass the flag to the program. This breaks certain desktop entries, like the one provided by smos

@fufexan
Copy link
Contributor

fufexan commented Feb 3, 2024

You can use my fork to fix that. I'll open a PR when anyrun finally moves to anyrun-org and PRs are open again.

@seangenabe
Copy link

Related to #91

@fufexan
Copy link
Contributor

fufexan commented Nov 10, 2024

This could be fixed by .args(&entry.exec.split_whitespace()). Can you test this?

This is the line that has to be changed

.arg(&entry.exec)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants