Re: Descriptor leak in python 2.4 subprocess module

2008-08-28 Thread Michel Lespinasse
On Thu, Aug 28, 2008 at 10:37:48AM +0100, Tim Golden wrote: > Michel Lespinasse wrote: > >I hit an issue with the following python code: > >try: > >get_orient = subprocess.Popen (['jpegexiforient', '-n', pathfull], > > stdin = subprocess.PIPE, > >

Re: Descriptor leak in python 2.4 subprocess module

2008-08-28 Thread Tim Golden
Michel Lespinasse wrote: Hi, I hit an issue with the following python code: try: get_orient = subprocess.Popen (['jpegexiforient', '-n', pathfull], stdin = subprocess.PIPE, stdout = subprocess.PIPE)

Descriptor leak in python 2.4 subprocess module

2008-08-28 Thread Michel Lespinasse
Hi, I hit an issue with the following python code: try: get_orient = subprocess.Popen (['jpegexiforient', '-n', pathfull], stdin = subprocess.PIPE, stdout = subprocess.PIPE) orient = get_orient.commu