-
Notifications
You must be signed in to change notification settings - Fork 154
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
improper argument parsing #959
Comments
Definitely not the case with the latest release. Also, see #958 |
Ancient qterminal version aside, this is indeed a bug.
See #335. |
yep |
I found a "solution": I used '\x1' ( QStringList parts = shell.split(QChar(01), Qt::SkipEmptyParts); Instead of QStringList parts = shell.split(QRegExp(QStringLiteral("\\s+")), Qt::SkipEmptyParts); In "termwidget.cpp". It worked here. However, I think a proper solution may be using of |
Yeah, I have the same feeling #335 (comment), but I cannot finish it after 5 years :( |
I understand. Lack of time has also made me overestimate the amount of the required changes and, as a result, I've delayed implementations. After taking a look at the code, I think the changes are simple in this case. Will make a PR tonight or tomorrow and will request your review. |
Expected Behavior
executes a command with spaces that is quotes with either
'
or"
Current Behavior
parses every space into a new argument regardless of quotes
Possible Solution
Steps to Reproduce (for bugs)
1.
java -jar 'my spaced java app.jar'
output:
Context
unable to support your terminal due to it being broken
System Information
The text was updated successfully, but these errors were encountered: