Updates for windows RunCommand.