Closed
Description
This code does not work when the command contains a path with spaces:
Lines 24 to 26 in c4662b5
According to this comment using cmd /C command_to_execute
argument is "normally" not needed. But, I suppose we have a case where it is needed.
https://stackoverflow.com/questions/44757893/cmd-c-doesnt-work-in-rust-when-command-includes-spaces
If I construct the return value exactly the same way as it's done for Linux, I don't have any issue. What led to the need for executing like this on Windows?