Get output and error streams from the command spawned by external_call()

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
Pierre Mazière
2020-05-24 16:38:56 +02:00
parent f1fe18b474
commit d92c576aa5
4 changed files with 93 additions and 14 deletions

View File

@@ -106,6 +106,6 @@ void get_file_paths_recursive(const char *directory, GSList **contents);
char* get_random_string(int length);
void call_external(const char *const exe, const char *const param);
gboolean call_external(gchar **argv, gchar ***const output_ptr, gchar ***const error_ptr);
#endif