-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Implement gnome-terminal style -x (--) flag. #397
Conversation
# Conflicts fixed in: # src/MainWindow.vala
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works on my system!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code wise it looks good to me, but I haven't had a chance to compile and test it (and won't be able to this week) If you can get someone else to test it as well that would be great :) but I'm removing my "needs changes" to not be a blocker.
If no one else checks it by next week, I'll give it a look once I'm back home :)
@Philip-Scott OK, thanks for the review - I'll not merge for now. |
# Conflicts fixed in: # src/Application.vala
@Philip-Scott Any chance of a re-review? :-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few bits to change
Fixes #395 (hopefully)
Implements a flag (-x or --) that causes the remainder of the line to be treated as a command in its own right, to be passed to a new terminal, without requiring quotes. This is intended to match the behaviour of gnome-terminal. It allows more complex commands to be executed (including their own flags). The existing
-e
flag only allows a single argument per command so complex commands need quoting.It may be advisable to define strings that cause the command building to end - advice required.