WinError 2 The system cannot find the file specified (Python)
Popen expect a list of strings for non-shell calls and a string for shell calls. Call subprocess.Popen with shell=True: process = subprocess.Popen(command, stdout=tempFile, shell=True) Hopefully this solves your issue. This issue is listed here: https://bugs.python.org/issue17023