doskey macros broken for inputs with >1 consecutive whitespace #15736
Labels
Area-Server
Down in the muck of API call servicing, interprocess communication, eventing, etc.
In-PR
This issue has a related PR
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Tag-Fix
Doesn't match tag requirements
Priority-2
A description (P2)
Product-Cmd.exe
The issue is related to the legacy command interpreter, CMD.exe.
Product-Conhost
For issues in the Console codebase
Milestone
Steps to reproduce
Run this:
Expected Behavior
Actual Behavior
The issue is caused by this function:
terminal/src/host/alias.cpp
Lines 833 to 861 in 42e9ddc
For an input like
"a b c"
it'll returnThe issue can either be fixed by fixing
s_Tokenize
itself or by reverting the code to the previous conhost v1 code. Either would likely be fine.The text was updated successfully, but these errors were encountered: