GNOME Bugzilla – Bug 497388
should open file before returning when evince already running
Last modified: 2009-10-20 17:19:02 UTC
[ forwarded from http://bugs.debian.org/451498 by Johannes Berg ] When evince is already displaying some document, it will, when called as "evince document" return quickly and instruct the running instance of evince to open the given document. This sometimes interacts badly with scripts that delete the document right after evince has returned. It would be good to make evince wait until the other instance has opened the document (un)successfully and return an status code indicating this condition to ease integration into scripts that display documents. Alternatively, a --disable-factory option like gnome-terminal has could be added for such use cases although the former is IMHO much preferable.
This should be fixed in git master since evince uses now multiple processes. Thanks for reporting.