Why does Python never add itself to the Windows path?

Gabriel Genellina gagsl-py at yahoo.com.ar
Tue Jan 2 13:20:41 EST 2007


At Tuesday 2/1/2007 13:58, Ben Sizer wrote:

> > Notice that there is NO need to alter the system path. You just have
> > to tell Windows where python.exe resides; there is a per-application
> > path located at
> > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths.
>
> >From what I can tell, that is solely for file associations. If so, it
>will work if you type "setup.py install" but not if you type "python
>setup.py install". For instance, I have an entry for Firefox in that
>part of the registry, but if you try executing "firefox" at the command
>line, it fails.

Typing "start firefox" at the command line should work.
It appears that cmd.exe does *not* use ShellExecute to find the 
executable, so this approach doesn't work as expected :(


-- 
Gabriel Genellina
Softlab SRL 


	

	
		
__________________________________________________ 
Preguntá. Respondé. Descubrí. 
Todo lo que querías saber, y lo que ni imaginabas, 
está en Yahoo! Respuestas (Beta). 
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas 




More information about the Python-list mailing list