This patch refactors the argument serialization logic used in the Execute function, used to launch new Windows processes. There is a critical step that joins char** arguments into a single string, building the command line used to launch the new process, and the readability of this code is improved if this part is refactored in its own helper function.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM with a check.
lib/Support/Windows/Program.inc | ||
---|---|---|
207 | Don't you need a std::move in here? |
Comment Actions
Thanks for reviewing it, could you please commit this? I don't have commit access. Or do you want me to change the helper function and make it return a raw pointer instead of a unique_ptr?
Cheers,
Rafael
Don't you need a std::move in here?