You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.
java TestQuotes
Exception in thread "main" org.codehaus.plexus.util.cli.CommandLineException: unbalanced quotes in echo "-\"-"
at org.codehaus.plexus.util.cli.CommandLineUtils.translateCommandline(CommandLineUtils.java:377)
at TestQuotes.main(TestQuotes.java:5)
Clearly, it fails since it does not recognize the second quote to be escaped.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
On a shell, the following works without problem:
But
CommandLineUtils.translateCommandline
will fail to parse this command lineRunning this program:
Clearly, it fails since it does not recognize the second quote to be escaped.
The text was updated successfully, but these errors were encountered: