If on windows do not pipe output to /dev/null