aboutsummaryrefslogtreecommitdiff
path: root/hardinfo/util.c
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@hardinfo.org>2019-07-15 18:46:59 -0700
committerLeandro Pereira <leandro@hardinfo.org>2019-08-10 16:50:18 -0700
commit3c83737fa488281f20030b5b36d7e1d4ba4313c9 (patch)
tree058ab8e18ff6bacdcf4a2551bf8845b447bab88a /hardinfo/util.c
parent0133e9fba615d8b5b1c67976a1da702977dd74a3 (diff)
Always pulse status bar while spawning processes synchronously
Diffstat (limited to 'hardinfo/util.c')
-rw-r--r--hardinfo/util.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/hardinfo/util.c b/hardinfo/util.c
index 1b92457c..e690ff20 100644
--- a/hardinfo/util.c
+++ b/hardinfo/util.c
@@ -1386,3 +1386,14 @@ gchar *hardinfo_clean_value(const gchar *v, int replacing) {
g_free((gpointer)v);
return clean;
}
+
+gboolean hardinfo_spawn_command_line_sync(const gchar *command_line,
+ gchar **standard_output,
+ gchar **standard_error,
+ gint *exit_status,
+ GError **error)
+{
+ shell_status_pulse();
+ return g_spawn_command_line_sync(command_line, standard_output,
+ standard_error, exit_status, error);
+}