Prechádzať zdrojové kódy

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

许家凯 4 rokov pred
rodič
commit
ad91861745

+ 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\\._]+?) *");