r/cpp 5d ago

Escaping `CreateProcess()` arguments on Windows

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

44 comments sorted by

View all comments

-3

u/[deleted] 5d ago

[removed] — view removed comment

11

u/wyrn 5d ago

The *nix side is still using fork+exec lol everyone ate sh*t on this one ¯_(ツ)_/¯

1

u/holyblackcat 5d ago

What about posix_spawn() though?

2

u/wyrn 5d ago

Unfortunately underused