[gnome-commander/GSettings] Fixes built-up command for leaving terminal open when using gcmd_block
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/GSettings] Fixes built-up command for leaving terminal open when using gcmd_block
- Date: Wed, 6 Jul 2016 20:51:19 +0000 (UTC)
commit e088b9664fca1ce80849c45a4ca6a25a2fb95ffc
Author: Uwe Scholz <uwescholz src gnome org>
Date: Wed Jul 6 22:50:06 2016 +0200
Fixes built-up command for leaving terminal open when using gcmd_block
src/utils.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/utils.cc b/src/utils.cc
index a7a82d3..7f7077d 100644
--- a/src/utils.cc
+++ b/src/utils.cc
@@ -112,7 +112,7 @@ void run_command_indir (const gchar *in_command, const gchar *dpath, gboolean te
if (gnome_cmd_data.use_gcmd_block)
{
- gchar *s = g_strdup_printf ("%s; %s/bin/gcmd-block", in_command, PREFIX);
+ gchar *s = g_strdup_printf ("bash -c \"%s; %s/bin/gcmd-block\"", in_command, PREFIX);
arg = g_shell_quote (s);
g_free (s);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]