[issue20894] COMSPEC with multiple paths breaks subprocess.call
Elja van Tol added the comment: I stand corrected, now i have to find out why my comspec was filled with nonsense. Sorry for the trouble! -- ___ Python tracker <http://bugs.python.org/issue20
[issue20894] COMSPEC with multiple paths breaks subprocess.call
New submission from Elja van Tol: I tried a simple console command: import subprocess subprocess.call(["dir"], shell=True) Which failed with an WindowsError 2, (could not find file) After much googling i found out that this is caused by os.environ['COMSPEC'] (http