From 2db5a687e974b7cf16053e69d0b2fbe3a0554b73 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Tue, 29 Jun 2010 19:49:49 -0700 Subject: Fixing argv parameter parsing --- bin/pocco | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/pocco') diff --git a/bin/pocco b/bin/pocco index 61531a4..884d538 100755 --- a/bin/pocco +++ b/bin/pocco @@ -4,6 +4,7 @@ import os import sys lib = os.path.join(os.path.dirname(os.path.abspath(__file__)), '..') -cmd = 'python ' + os.path.join(lib, 'pocco.py') + " ".join(sys.argv[2:]) +cmd = "python %s %s" % (os.path.join(lib, 'pocco.py'), + " ".join(sys.argv[1:])) print os.popen(cmd).read(), -- cgit v1.2.3