Browse Source

fix: 多工作空间同时守护相互覆盖问题

许家凯 4 years ago
parent
commit
ad91861745
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/winhc/dataworks/flow/touch/cmd/OdpsCmd.java

+ 1 - 1
src/main/java/com/winhc/dataworks/flow/touch/cmd/OdpsCmd.java

@@ -73,7 +73,7 @@ public class OdpsCmd {
 
 
     private List<String> execute(String cmd) {
-        return RuntimeUtil.execForLines(baseCmd + " -e \"" + cmd + "\";");
+        return RuntimeUtil.execForLines(baseCmd + " --project "+project_name+" -e \"" + cmd + "\";");
     }
 
     private static final Pattern pattern = Pattern.compile("(\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}) +(\\w+?) +(\\w+?) +(\\w+?) +([0-9a-zA-Z\\._]+?) *");