fix a logging statement

This commit is contained in:
sjfink 2012-11-27 22:18:47 -08:00
parent d78e8fe25c
commit 4f06e75e8d
1 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@ import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.io.PrintStream;
import java.util.Arrays;
import java.util.Iterator;
import java.util.Map;
import java.util.logging.Logger;
@ -118,7 +119,7 @@ public abstract class Launcher {
throw new IllegalArgumentException("cmd cannot be null");
}
if (logger != null) {
logger.info("spawning process " + cmd);
logger.info("spawning process " + Arrays.toString(cmd));
}
String[] ev = getEnv() == null ? null : buildEnv(getEnv());
Process p = Runtime.getRuntime().exec(cmd, ev, getWorkingDir());