On Wednesday, 28 June 2017 20:15:01 CEST gregor herrmann wrote: > I suppose yes, in order to make sure that the script waits for > nautilus-sendto to return, as the return value is checked in the next line.
Indeed. The only drawback is that shutter will hang while the mail is sent by nautilus-sendto. Depending on network condition, this may be noticeable by user. I guess that Gtk2 offers a way to fork process and check the result without hanging, but that would require more work (and ramp-up on Gtk2) All the best -- https://github.com/dod38fr/ -o- http://search.cpan.org/~ddumont/ http://ddumont.wordpress.com/ -o- irc: dod at irc.debian.org