mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 04:46:22 +00:00
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
This commit is contained in:
committed by
Michael Vetter
parent
7ffe55e980
commit
2d11a35ee1
@@ -9424,7 +9424,7 @@ _url_external_method(const char* cmd_template, const char* url, const char* file
|
||||
{
|
||||
gchar** argv = format_call_external_argv(cmd_template, url, filename);
|
||||
|
||||
if (!call_external(argv, NULL, NULL)) {
|
||||
if (!call_external(argv)) {
|
||||
cons_show_error("Unable to call external executable for url: check the logs for more information.");
|
||||
} else {
|
||||
cons_show("URL '%s' has been called with '%s'.", url, cmd_template);
|
||||
|
||||
Reference in New Issue
Block a user