From 2d11a35ee1975f015c1c4d7696d71a408178e5be Mon Sep 17 00:00:00 2001 From: Marouane L Date: Mon, 26 Sep 2022 12:29:14 +0100 Subject: Spawn external programs asynchronously Drawback is that we can't check the exitcode anymore. But we were unsure why/when we need this, see: https://github.com/profanity-im/profanity/pull/1760/files#r980868708 Fixes https://github.com/profanity-im/profanity/issues/1759 --- src/xmpp/avatar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xmpp') diff --git a/src/xmpp/avatar.c b/src/xmpp/avatar.c index fb3b01ea..5ba2cb3b 100644 --- a/src/xmpp/avatar.c +++ b/src/xmpp/avatar.c @@ -346,7 +346,7 @@ _avatar_request_item_result_handler(xmpp_stanza_t* const stanza, void* const use } else { gchar** argv = format_call_external_argv(cmdtemplate, NULL, filename->str); - if (!call_external(argv, NULL, NULL)) { + if (!call_external(argv)) { cons_show_error("Unable to display avatar: check the logs for more information."); } -- cgit 1.4.1-2-gfad0