fix logging for userscript. fixes #252

This commit is contained in:
clinton-hall 2014-02-02 19:58:53 +10:30
parent c69af5b151
commit 485ec5dbd8

View file

@ -345,7 +345,10 @@ def external_script(outputDestination):
else:
command.append(param)
continue
Logger.info("Running script %s on file %s.", command, filePath)
cmd = ""
for item in command:
cmd = cmd + " " + item
Logger.info("Running script %s on file %s.", cmd, filePath)
try:
p = Popen(command)
res = p.wait()