Helius
2021-05-25 90f998e0c3bf2144b4d7dd8ba8bc72aec1d72756
src/main/java/com/xcong/excoin/quartz/job/XchBaseDataUpdateJob.java
@@ -155,11 +155,8 @@
    public String pyExec() {
        String result = "";
        String path = ClassUtils.getDefaultClassLoader().getResource("").getPath();
        String filePath = path + "static/xch.py";
        log.info("=====>{}", filePath);
        try {
            Process process = Runtime.getRuntime().exec("python2.7 " + filePath);
            Process process = Runtime.getRuntime().exec("python2.7 /home/javaweb/yunding/xch.py");
            process.waitFor();
            InputStreamReader ir = new InputStreamReader(process.getInputStream());
            LineNumberReader input = new LineNumberReader(ir);