[kupfer] objects: Quote script path in Execute properly
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] objects: Quote script path in Execute properly
- Date: Mon, 7 Sep 2009 21:49:57 +0000 (UTC)
commit 16068aa7f04a4dfd424a21b467ecf1cf52aa69f3
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Sun Sep 6 23:12:21 2009 +0200
objects: Quote script path in Execute properly
kupfer/objects.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/kupfer/objects.py b/kupfer/objects.py
index b93b0fe..9167185 100644
--- a/kupfer/objects.py
+++ b/kupfer/objects.py
@@ -730,7 +730,7 @@ class Execute (Launch):
return self.in_terminal
def activate(self, leaf):
- cli = "%s %s" % (leaf.object, self.args)
+ cli = "'%s' %s" % (leaf.object, self.args)
utils.launch_commandline(cli, in_terminal=self.in_terminal)
def get_description(self):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]