Make RunCommands Windows compatible

Emulate the same behavior on windows Systems that you would expect on a linux machine in regards to running command piped via stdin
Can you please store args to call exec.Command, rather than calling it twice? It will internally do filesystem lookups which we can avoid.