I'm quoting a message that I received on personal address and wasn't 
sent to list:
> 
> try adding argument close_fds=True to subprocess.Popen
> 
> harish
> 

And Tim's message:
> It's not quite clear from your description above whether you
> can be sure that the called subprocess has closed all its handles
> by the time the os.rename runs.

Seems that close_fds did the trick. Anyway, I read that description on 
the documentation last night but I think I was so tired that I 
understood that in Windows has no effect... :)

Thank you, all.
-- 
  Claudiu Nicolaie CISMARU
  GNU GPG Key: http://claudiu.targujiu.net/key.gpg
  T: +40 755 135455
  E: clau...@virtuamagic.com, claudiu.cism...@gmail.com

Attachment: signature.asc
Description: This is a digitally signed message part.

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

Reply via email to