Skip to content

Conversation

@TerryFrench
Copy link

Summary

Improves interruption handling and ExifTool process resilience during long imports.

Changes

  • Adds graceful SIGINT/Ctrl+C handling in CLI loops.
  • Hardens ExifTool shutdown to avoid pipe/flush errors during interrupt.
  • Adds restart/recovery behavior when ExifTool process becomes unavailable mid-run.
  • Adds regression tests for interrupted/broken ExifTool I/O paths.

Why

Long-running imports on Windows can hit pipe and shutdown edge cases, resulting in crashes after Ctrl+C or ExifTool process interruptions.

Dependency

This PR is based on #509 (pr/02-unicode-path) due to shared code paths.

Testing

Ran all tests. Known existing regex warnings unchanged by this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant