lock problem

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Sun Mar 18 10:31:24 CET 2007


En Fri, 16 Mar 2007 19:08:14 -0300, Ritesh Raj Sarraf <rrs at researchut.com>  
escribió:

>> But you miss the fact that there is only one environment per process.
>
> Maybe there's a confusion.
> The environment variable that I'm setting has noting to do with  
> ldapsearch. I
> use the environment variable as a filename to which ldapsearch can  
> redirect its
> output. And that I do is because the output can be huge and useless.
> Then I do some pattern matching on that file and filter my data and then  
> delete
> it.
>
> If you think I still am missing something important, request you to  
> describe it.

Then, why do you use an environment variable? Just redirect the output to  
the desired file name (when you are making the command line to be executed  
by os.system)

-- 
Gabriel Genellina




More information about the Python-list mailing list