4 ms·
High level Api's could easily provide this, e.g. the C# Process.Start(executable, args); Takes a single string as args, and has no overload taking an arra
by alkonaut 10y ago
High level Api's could easily provide this, e.g. the C#
Process.Start(executable, args);
Takes a single string as args, and has no overload taking an array as args, which formats it safely and correctly so that the receiving process would see the same string in its args vector.
So while it seems to be pretty easily fixable, it hasn't been.
- marcosdumay 10y agoThe right way to do it would be to change the OS API into accepting an array of strings, and turn this function into an overlay that will have its parameters parsed and broken apart in user-space. But yes, if MS ever fixes this it's more likely that they'll go into the route you described. I can't wait to see how many bug reports with crazy descriptions it will create, and how many more overlays will be written to fix the bugs preserving backward compatibility.