[FIX] tools: exec_command_pipe parameters

args is a tuple, do not popen it as it's concatanated with another tuple
in _exec_pipe. This made the "print workflow" method crash.
This commit is contained in:
Martin Trigaux 2015-01-21 16:51:15 +01:00
parent cbd9b46129
commit 2c99ddc612
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ def exec_command_pipe(name, *args):
prog = find_in_path(name)
if not prog:
raise Exception('Command `%s` not found.' % name)
return _exec_pipe(prog, *args)
return _exec_pipe(prog, args)
#----------------------------------------------------------
# Postgres subprocesses