[gedit] Allow shell quotes in commands from Run Command tool



commit 613c5143134465d310b067a8557f7734fc64ae5e
Author: Adam Dingle <adam yorba org>
Date:   Sun May 5 11:23:11 2013 -0400

    Allow shell quotes in commands from Run Command tool
    
    https://bugzilla.gnome.org/show_bug.cgi?id=699663

 plugins/externaltools/data/run-command.tool.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/externaltools/data/run-command.tool.in b/plugins/externaltools/data/run-command.tool.in
index dbd4218..77ad4e6 100755
--- a/plugins/externaltools/data/run-command.tool.in
+++ b/plugins/externaltools/data/run-command.tool.in
@@ -1,4 +1,4 @@
 #!/bin/sh
 
 #TODO: use "gconftool-2 -g /desktop/gnome/applications/terminal/exec"
-exec `zenity --entry --title="Run command - gedit" --text="Command to run"`
+eval $(zenity --entry --title="Run Command - gedit" --text="Command to run:")


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]