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

-x/--execute still broken #702

Closed
ManuelSchneid3r opened this issue Jan 17, 2023 · 4 comments
Closed

-x/--execute still broken #702

ManuelSchneid3r opened this issue Jan 17, 2023 · 4 comments

Comments

@ManuelSchneid3r
Copy link

ManuelSchneid3r commented Jan 17, 2023

Describe the bug
I use terminals to run commands from albertlauncher. Terminator as the only exception fails to do so. As some of the comments in the linked issue show, terminator does not interpret the args after -x as commandline, but rather interprets them as its own args. E.g.

terminator -x /bin/bash -ic "ssh somehost;  exec /bin/bash"

results in

terminator: error: unrecognized arguments: ssh github.com; exec /bin/bash

but I expect it to run a terminal without a shell and the following commandline

arg[0]: /bin/bash
arg[1]: -ic
arg[2]: "ssh somehost;  exec /bin/bash"

Finally, in the above example, terminator should open and run a shell runnig ssh.

Desktop (please complete the following information):

  • Archlinux

(Still broken because there is #660)

@ManuelSchneid3r ManuelSchneid3r changed the title xterm compatible --execute still broken -x/--execute still broken Jan 17, 2023
@mattrose
Copy link
Member

Are you sure you're running the master version of terminator? That command works fine for me with master. Try terminator -u -x /bin/bash -ic "ssh somehost; exec /bin/bash" to make sure you're not attaching to an older running terminator

@ManuelSchneid3r
Copy link
Author

@mattrose
Copy link
Member

Ah, well that explains it. #660 isn't released yet, so it won't have been picked up by manjaro.
Bad News: If you want this change immediately you'll have to install master
Good News: I plan a release within the next couple of weeks, as soon as I get some free time

ManuelSchneid3r added a commit to albertlauncher/albert that referenced this issue Jan 18, 2023
@vmath3us
Copy link

what are the plans for supporting the emerging xdg-terminal-exec?
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2839
https://github.com/Vladimir-csp/xdg-terminal-exec#limitations
terminator actually needs quotes to exec (like in terminator -x or terminator -e)
xdg-terminal-exec vim file not works ; but
xdg-terminal-exec "vim file" yes.

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