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:
Marouane L
2022-09-26 12:29:14 +01:00
committed by Michael Vetter
parent 7ffe55e980
commit 2d11a35ee1
6 changed files with 15 additions and 34 deletions

View File

@@ -103,7 +103,7 @@ void get_file_paths_recursive(const char* directory, GSList** contents);
char* get_random_string(int length);
gboolean call_external(gchar** argv, gchar** std_out, gchar** std_err);
gboolean call_external(gchar** argv);
gchar** format_call_external_argv(const char* template, const char* url, const char* filename);
gchar* unique_filename_from_url(const char* url, const char* path);