En Fri, 16 Mar 2007 19:08:14 -0300, Ritesh Raj Sarraf <[EMAIL PROTECTED]>  
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

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to