use Arrays.toString to convert trimmed process args to application args in ShellService.

This commit is contained in:
idk
2022-01-22 14:56:04 -05:00
parent 3e8f8a2bd3
commit f2e0aacbf0

View File

@@ -76,7 +76,7 @@ public class ShellService implements ClientApp {
String[] procArgs = trimArgs(args);
String process = procArgs.toString();
String process = Arrays.toString(procArgs);
if (_log.shouldLog(Log.DEBUG)) {
_log.debug("Process: " + process);
@@ -112,6 +112,8 @@ public class ShellService implements ClientApp {
i++;
}
} else {
if (_log.shouldLog(Log.DEBUG))
_log.debug("Adding arg: " + args[i]);
newargs.add(args[i]);
}
}