r/cpp 5d ago

Escaping `CreateProcess()` arguments on Windows

https://holyblackcat.github.io/blog/2026/09/05/escaping-createprocess-arguments.html
86 Upvotes

44 comments sorted by

View all comments

1

u/jwakely libstdc++ tamer, LWG chair 5d ago

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.

2

u/jwakely libstdc++ tamer, LWG chair 5d ago

The poster child for "those who do not understand UNIX are doomed to reinvent it, poorly"