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

Quote arguments with carets for cmd.exe #3320

Merged
merged 2 commits into from
Nov 29, 2018
Merged

Quote arguments with carets for cmd.exe #3320

merged 2 commits into from
Nov 29, 2018

Commits on Nov 28, 2018

  1. Quote arguments with carets for cmd.exe

    Carets introduce a difficult situation since they are essentially
    "lossy" when parses. Consider this in cmd.exe:
    
        > echo "foo^bar"
        "foo^bar"
        > echo foo^^bar
        foo^bar
    
    The two commands produce different results, but are both parsed by the
    shell as `foo^bar`, and there's essentially no sensible way to tell what
    was actually passed in. This implementation assumes the quoted variation
    (the first) since it is easier to implement, and arguably the more common
    case.
    uranusjr committed Nov 28, 2018
    Configuration menu
    Copy the full SHA
    6a93e6c View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2018

  1. Configuration menu
    Copy the full SHA
    6fc740a View commit details
    Browse the repository at this point in the history