diff options
| author | Jeremy Fitzhardinge <jeremy@goop.org> | 2019-12-10 23:32:52 -0800 |
|---|---|---|
| committer | Jeremy Fitzhardinge <jsgf@fb.com> | 2019-12-16 14:44:16 -0800 |
| commit | 232022ff176bc77d19137ba7b3a40b73b403df9b (patch) | |
| tree | 2089af8e84817a7feedd9ce49b901815cc30edd8 /src/test/ui/command-exec.rs | |
| parent | a2333023594826dc5078ce7129fafb85471b7857 (diff) | |
| download | rust-232022ff176bc77d19137ba7b3a40b73b403df9b.tar.gz rust-232022ff176bc77d19137ba7b3a40b73b403df9b.zip | |
Fix up Command Debug output when arg0 is specified.
PR https://github.com/rust-lang/rust/pull/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 ...".
Diffstat (limited to 'src/test/ui/command-exec.rs')
0 files changed, 0 insertions, 0 deletions
