And the sad truth is there is no way to do it on Windows, due to how CreateProcess works.
Sure there is, just quote it like CreateProcess expects, as shown in Re^3: system() implementation on Windows (again)
In reply to Re^2: system() implementation on Windows (again)
by Anonymous Monk
in thread system() implementation on Windows (again)
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |