Provide a synchronous version of g_app_info_launch*
Submitted by Vincent Bernat
g_app_info_launch() and g_app_info_launch_uris() end with the invocation of g_spawn_async(). A synchronous version of those two functions would be appreciated. g_app_info_launch_uris() does some complex operations (parameter expansion, environment, terminal handling) which are difficult to mimic.
This would allow gvfs-open to terminate only when the invoked application terminates. See bug #652262 for the rationale for this.