[Python 2.4/2.5] subprocess module is sorely deficient?

Harishankar v.harishankar at gmail.com
Wed Apr 23 07:17:03 EDT 2008


On Wednesday 23 Apr 2008 15:11:21 Ben Kaplan wrote:
> I don't know about all Linux distros, but my Ubuntu machine (8.04 Beta),
> has the 'TERM' (xterm) and 'COLORTERM' (gnome-terminal) keys in os.environ.
> You might be able to use that to ensure that the terminal is installed, but
> you should probably look at a couple of other popular distros first to make
> sure that the key is there.
This is set on Debian too. Thanks. I should be able to use this environment 
variable on most Linux distributions, I suspect.
-- 
Regards,
V. Harishankar

http://hari.literaryforums.org
http://harishankar.org



More information about the Python-list mailing list