GNOME Bugzilla – Bug 523173
provide option not to fork and exit if existing instance
Last modified: 2008-03-21 21:12:57 UTC
This has been reported in Debian's BTS: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469974 "If an eog instance already exists, a new invocation of eog asks the existing instance to handle its requests, then quits. But this makes eog unusable as an image viewer with mutt, which deletes the image after viewing is done. A program like eogclient (like emacsclient) would be an acceptable solution. So would a flag --wait."
Created attachment 107680 [details] [review] add a --wait flag This adds the requested flag. The only two bits I'm not sure of are 1) the name of the flag and 2) the description. Suggestions, welcome, otherwise I'll simply commit.
I think something like --no-reuse would be pretty descriptive for this. A description could then be like "Do not reuse an already existing instance" or "Start a new instance instead of reusing an already started one"
Hey guys, --new-instance is much better and more descriptive. :-)
Committed with your suggestions: { "new-instance", 'n', 0, G_OPTION_ARG_NONE, &wait, N_("Start a new instance instead of reusing an already started one"), NULL } 2008-03-21 Claudio Saavedra <csaavedra@gnome.org> * src/main.c: (main): Add a --new-instance command line parameter. Fixes bug #523173.