浏览代码

use start

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 {
     public BaseResponseDTO test(String exepath) throws InterruptedException {
         String uuid = UUID.randomUUID().toString();
         String uuid = UUID.randomUUID().toString();
         System.out.println(uuid);
         System.out.println(uuid);
-        String cmd = "cmd /c " + exepath + " " + uuid + " " + CALLBACK;
+        String cmd = "cmd /c start " + exepath + " " + uuid + " " + CALLBACK;
         String result = ExecUtils.exec(cmd);
         String result = ExecUtils.exec(cmd);
         System.out.println(result);
         System.out.println(result);
         while (!ResultUtils.RESULT_MAP.containsKey(uuid)){
         while (!ResultUtils.RESULT_MAP.containsKey(uuid)){