|
@@ -21,7 +21,7 @@ public class CmdUtils {
|
|
|
public static void callShell(String command){
|
|
|
log.info("cmd: {}", command);
|
|
|
try {
|
|
|
- String[] cmd = new String[]{"/bin/sh", "-c", command};
|
|
|
+ String[] cmd = new String[]{"/bin/sh", "-c", command + "&"};
|
|
|
Process process = Runtime.getRuntime().exec(cmd);
|
|
|
StreamGobblerLine errorGobbler = new StreamGobblerLine(process.getErrorStream(), "ERROR");
|
|
|
errorGobbler.start();
|