diff options
author | Nick Fitzgerald <fitzgen@gmail.com> | 2010-06-29 19:49:49 -0700 |
---|---|---|
committer | Nick Fitzgerald <fitzgen@gmail.com> | 2010-06-29 19:49:49 -0700 |
commit | 2db5a687e974b7cf16053e69d0b2fbe3a0554b73 (patch) | |
tree | 163483acab76db59700e9e52026efec0d9d7ff99 /bin/pocco | |
parent | e749faee47d844da91a01963f61a0c62a9744148 (diff) | |
download | pycco-2db5a687e974b7cf16053e69d0b2fbe3a0554b73.tar.gz pycco-2db5a687e974b7cf16053e69d0b2fbe3a0554b73.zip |
Fixing argv parameter parsing
Diffstat (limited to 'bin/pocco')
-rwxr-xr-x | bin/pocco | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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(), |