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

Fix up Command Debug output when arg0 is specified. #67219

Merged
merged 2 commits into from
Dec 20, 2019

Commits on Dec 16, 2019

  1. Fix up Command Debug output when arg0 is specified.

    PR rust-lang#66512 added the ability to set argv[0] on
    Command. As a side effect, it changed the Debug output to print both the program and
    argv[0], which in practice results in stuttery output ("echo echo foo").
    
    This PR reverts the behaviour to the the old one, so that the command is only printed
    once - unless arg0 has been set. In that case it emits "[command] arg0 arg1 ...".
    jsgf committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    232022f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ce56e75 View commit details
    Browse the repository at this point in the history