kylegu пре 4 година
родитељ
комит
9b8d61c0b9
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/main/java/com/xingyue/atbird/cs/invoker/TestInvoker.java

+ 1 - 1
src/main/java/com/xingyue/atbird/cs/invoker/TestInvoker.java

@@ -20,7 +20,7 @@ public class TestInvoker {
     public BaseResponseDTO test(String exepath) throws InterruptedException {
         String uuid = UUID.randomUUID().toString();
         System.out.println(uuid);
-        String cmd = "cmd /c " + exepath + " " + uuid + " " + CALLBACK;
+        String cmd = "cmd /c start " + exepath + " " + uuid + " " + CALLBACK;
         String result = ExecUtils.exec(cmd);
         System.out.println(result);
         while (!ResultUtils.RESULT_MAP.containsKey(uuid)){