From 3c83737fa488281f20030b5b36d7e1d4ba4313c9 Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Mon, 15 Jul 2019 18:46:59 -0700 Subject: Always pulse status bar while spawning processes synchronously --- hardinfo/dmi_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hardinfo/dmi_util.c') diff --git a/hardinfo/dmi_util.c b/hardinfo/dmi_util.c index 5f9f6f9a..91be8508 100644 --- a/hardinfo/dmi_util.c +++ b/hardinfo/dmi_util.c @@ -202,7 +202,7 @@ char *dmi_get_str_abs(const char *id_str) { /* try dmidecode, but may require root */ snprintf(full_path, PATH_MAX, "dmidecode -s %s", id_str); - spawned = g_spawn_command_line_sync(full_path, + spawned = hardinfo_spawn_command_line_sync(full_path, &out, &err, &i, NULL); if (spawned) { if (i == 0) @@ -303,7 +303,7 @@ char *dmidecode_read(const dmi_type *type) { snprintf(full_path, PATH_MAX, "dmidecode"); } - spawned = g_spawn_command_line_sync(full_path, + spawned = hardinfo_spawn_command_line_sync(full_path, &out, &err, &i, NULL); if (spawned) { if (i == 0) -- cgit v1.2.3