r/cpp • • Sep 05 '26

Escaping `CreateProcess()` arguments on Windows

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

44 comments sorted by

View all comments

9

u/holyblackcat Sep 05 '26 edited Sep 05 '26

I've been told that cmd /c has special quoting rules that I forgot to handle (related to the /s flag), I'll fix the post in a few hours fixed it.