[Twisted-Python] Inheriting Environment (was: Wrapping blocking code)

Glyph Lefkowitz glyph at twistedmatrix.com
Tue Jul 29 08:28:37 MDT 2003


On Monday, July 28, 2003, at 01:50 PM, Brian Warner wrote:

> We've talked about this briefly before, but perhaps [child processes 
> inheriting the environment of their parents] should be the default?

I think that the current behavior is fine, and that it shouldn't 
change.  Better to err on the side of safety for something like this; 
make it a FAQ, but it's a better FAQ than "I ran a CGI as www-data with 
the wrong $HOME variable and a web user deleted my entire home 
directory!  What do I do?!?"





More information about the Twisted-Python mailing list