From c2090273d9c66e3ec516f607ad91bf152922646c Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Wed, 1 May 2019 17:07:06 +0700 Subject: [PATCH] Improved logging --- source/net/filebot/cli/ScriptShellBaseClass.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/net/filebot/cli/ScriptShellBaseClass.java b/source/net/filebot/cli/ScriptShellBaseClass.java index 0c04d37a..f02376db 100644 --- a/source/net/filebot/cli/ScriptShellBaseClass.java +++ b/source/net/filebot/cli/ScriptShellBaseClass.java @@ -317,6 +317,10 @@ public abstract class ScriptShellBaseClass extends Script { } ProcessBuilder process = new ProcessBuilder(cmd.collect(toList())).inheritIO(); + + // DEBUG + debug.finest(format("Execute %s", process.command())); + return process.start().waitFor(); }