barasher / go-exiftool

Golang wrapper for Exiftool : extract as much metadata as possible (EXIF, ...) from files (pictures, pdf, office documents, ...)
GNU General Public License v3.0
245 stars 43 forks source link

To identify exiftool's ppid #71

Open BESTLyc opened 1 month ago

BESTLyc commented 1 month ago

Thanks for your useful tools. I create a exiftool's pool in my program, which is very useful in high concurrency scenarios. But when my program's proccess be killed in accident,the pool will lost control. So I want to manage them,so I want to get their pid and source program name, then when my program restart, it can check and close the previous exiftool's pool.