[Zope] Cautionary tale -- OSError: [Errno 2] No such file or directory

Scott Burchill scott@zopeworks.us
Fri, 04 Apr 2003 12:32:07 -0600


Passin, Tom wrote:
> I think you should **never** change or depend on the current working
> directory, [snip]

> Cheers,
> 
> Tom P


I _totally_ agree, in principal, but ...

In my specific situation, the external method launches another program 
from a third party which breaks if the cwd is not correct.  I don't like 
it but have to deal with it until the legacy crud is gone (which I'm 
working on.)  The posts in this thread were very healpful to me, thanks 
to all who contributed.

sbb