Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid race condition when displaying images with eog
Image.show() expects its display command to run synchronously, but eog is asynchronous if there's another instance already running -- it just asks the other instance to open the file and then immediately exits. This causes intermittent failures where the file gets deleted before the running eog instance manages to open it. Fix this by using the -n option, so eog starts a new instance each time instead of trying to reuse an existing one.
- Loading branch information