[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:
parent
cbd9b46129
commit
2c99ddc612
|
@ -90,7 +90,7 @@ def exec_command_pipe(name, *args):
|
||||||
prog = find_in_path(name)
|
prog = find_in_path(name)
|
||||||
if not prog:
|
if not prog:
|
||||||
raise Exception('Command `%s` not found.' % name)
|
raise Exception('Command `%s` not found.' % name)
|
||||||
return _exec_pipe(prog, *args)
|
return _exec_pipe(prog, args)
|
||||||
|
|
||||||
#----------------------------------------------------------
|
#----------------------------------------------------------
|
||||||
# Postgres subprocesses
|
# Postgres subprocesses
|
||||||
|
|
Loading…
Reference in New Issue