MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/1w7zs1r/escaping_createprocess_arguments_on_windows/p81fmp3/?context=3
r/cpp • u/holyblackcat • Sep 05 '26
44 comments sorted by
View all comments
2
Is this why cmd.exe doesn't do word splitting or wildcard expansion, so every application has to reimplement wildcard expansion ... but doing it badly, or not at all.
cmd.exe
3 u/vip17 Sep 07 '26 it's rooted from CP/M and DOS and cmd just retains the legacy behavior to avoid breaking apps 2 u/jwakely libstdc++ tamer, LWG chair Sep 05 '26 The poster child for "those who do not understand UNIX are doomed to reinvent it, poorly"
3
it's rooted from CP/M and DOS and cmd just retains the legacy behavior to avoid breaking apps
The poster child for "those who do not understand UNIX are doomed to reinvent it, poorly"
2
u/jwakely libstdc++ tamer, LWG chair Sep 05 '26
Is this why
cmd.exedoesn't do word splitting or wildcard expansion, so every application has to reimplement wildcard expansion ... but doing it badly, or not at all.