4 Apr
2003
4 Apr
'03
4:29 p.m.
On Friday 04 April 2003 4:51 pm, John Ziniti wrote:
It then dawned on me that we do a lot of "os.chdir()" in our Products to make sure we are in a directory we can write in. We also have at least one Product that deletes it's working directory after it is done.
Beware that chdir affects all threads in a process. If this method is invoked by two concurrent threads then one will not be writing in the directory that it expected.
Hope this helps someone sometime,
Indeed -- Toby Dickenson http://www.geminidataloggers.com/people/tdickenson