[Python-Dev] Windows installers and %PATH% (original) (raw)
Brian Curtin brian.curtin at gmail.com
Fri Aug 26 19:30:49 CEST 2011
- Previous message: [Python-Dev] Windows installers and %PATH%
- Next message: [Python-Dev] Windows installers and %PATH%
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Aug 26, 2011 at 12:18, Andrew Pennebaker < andrew.pennebaker at gmail.com> wrote:
Also, there's no need to "buy in" to the Windows toolchain just to edit PATH. Installer software includes functionality for editing environment variables, and in any case Python has built in environment variable editing, even for Windows.
The built-in environment variable support, e.g., os.getenv/putenv/environ, isn't helpful here as it does not modify the global environment. It modifies the current process and usually subprocesses. The proper way to apply environment variable changes to the entire system is via the registry and broadcasting a setting change message. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20110826/50a8d447/attachment.html>
- Previous message: [Python-Dev] Windows installers and %PATH%
- Next message: [Python-Dev] Windows installers and %PATH%
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]