diff options
| author | Marouane L <techmetx11@disroot.org> | 2022-09-26 12:29:14 +0100 |
|---|---|---|
| committer | Michael Vetter <jubalh@iodoru.org> | 2022-10-12 12:25:00 +0200 |
| commit | 2d11a35ee1975f015c1c4d7696d71a408178e5be (patch) | |
| tree | abd26bacfea04f1d49315a8f191b69924d8b8d9e /src/command | |
| parent | 7ffe55e980a7d33f1129331bb5dc34c6455b55a4 (diff) | |
| download | profani-tty-2d11a35ee1975f015c1c4d7696d71a408178e5be.tar.gz | |
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
Diffstat (limited to 'src/command')
| -rw-r--r-- | src/command/cmd_funcs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c index e8322214..9978e889 100644 --- a/src/command/cmd_funcs.c +++ b/src/command/cmd_funcs.c @@ -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); |