os.putenv ?

Erik Max Francis max at alcyone.com
Fri Mar 28 03:51:05 EST 2003


Jacek Generowicz wrote:

> I can't really expect users to change their shells, just because I'm
> too lazy to write a script for their shell.

The Bourne-like and the csh-likes are all very distinct and very
predictable in their behavior.  You could easily support both
Bourne-like shells and csh-like shells with a simple layer (depending on
how complicated the script you want to write is).

Or just say that your applications works only with Bourne-like shells
and if you use something else, well, tough.  What you're doing (trying
to execute shell code in someone else's shell by means of some other
script) is already in the class of "things you cannot really do without
cheating."

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ I wonder if this grief will ever let me go
\__/ Sade
    PyUID / http://www.alcyone.com/pyos/uid/
 A module for generating "unique" IDs in Python.




More information about the Python-list mailing list