fix a logging statement
This commit is contained in:
parent
d78e8fe25c
commit
4f06e75e8d
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue