소스 검색

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 {
         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)){