From: IgorKlopov Date: Tue, 25 Nov 2014 22:16:17 +0000 (-0800) Subject: `subprocess.Popen` fails when Python is in "App Paths" X-Git-Tag: v0.19.5~7^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=d8de9754d60e7956aebeb5a5a70fa8f37f884cca;p=electron.git `subprocess.Popen` fails when Python is in "App Paths" Win32. Python is not added to PATHs by default. Instead it is added to `App Paths` registry key ( http://msdn.microsoft.com/en-us/library/windows/desktop/ee872121(v=vs.85).aspx ). In both cases Python binary is found when i enter `python` command. But `subprocess.Popen` seems to fail when BOTH (1) runs a string `python tools/atom_source_root.py` AND (2) python is not in PATHs, only in App Paths. I suggest using list in