-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not work with big amount of files #6
Comments
I'll try to reproduce the bug at home, this weekend. |
@barasher, thank you for your quick response. |
@asannikov , thanks a lot ! |
Feature added in commit 8b99a50, released in v1.2.0 tag |
I'm looping big ~10k files using this call for each iteration:
fileInfos := et.ExtractMetadata(file)
After the ~7k loops the program hangs. I debugged a bit and found that it hangs in https://github.com/barasher/go-exiftool/blob/master/exiftool.go#L121 on the line:
fmt.Fprintln(e.stdin, executeArg)
i tried to run the same file in 10k loops. Works fine. With the different files does not work.
Can it be that e.stdin is overflowed?
The text was updated successfully, but these errors were encountered: