aboutsummaryrefslogtreecommitdiff
path: root/includes
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 /includes
parent0133e9fba615d8b5b1c67976a1da702977dd74a3 (diff)
Always pulse status bar while spawning processes synchronously
Diffstat (limited to 'includes')
-rw-r--r--includes/hardinfo.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/includes/hardinfo.h b/includes/hardinfo.h
index c8ee1ca0..ab9ecb55 100644
--- a/includes/hardinfo.h
+++ b/includes/hardinfo.h
@@ -193,4 +193,12 @@ gchar *hardinfo_clean_label(const gchar *v, int replacing);
/* hardinfo uses the values as {ht,x}ml, apparently */
gchar *hardinfo_clean_value(const gchar *v, int replacing);
+/* Same as hardinfo_spawn_command_line_sync(), but calls shell_status_pulse()
+ * before. */
+gboolean hardinfo_spawn_command_line_sync(const gchar *command_line,
+ gchar **standard_output,
+ gchar **standard_error,
+ gint *exit_status,
+ GError **error);
+
#endif /* __HARDINFO_H__ */