smarnach / pyexiftool

a Python library to communicate with an instance of Phil Harvey's excellent ExifTool command-line application.
Other
270 stars 111 forks source link

IIS error #21

Open rukayaj opened 7 years ago

rukayaj commented 7 years ago

Thank you so much for making this incredibly helpful tool! It's working beautifully for us, we just had some problems deploying a web application which was using it on IIS.

Related to this issue http://stackoverflow.com/questions/10290990/subprocess-popen-not-working-with-pythonw-exe

I had to change line 56 of pyexifinfo.py from this: s = subprocess.Popen(cmd, stdout=subprocess.PIPE) to this: s = subprocess.Popen(cmd, stdout=subp.PIPE, stdin=subp.PIPE, stderr=subp.STDOUT)