On Windows split the command string into an array

On windows the cmd parameter to the run_command() method needs to be
split into an array for the call to work