Fixed Windows Popen bug