Browse Source

单词命名规范化

JustryDeng 4 years ago
parent
commit
8143c582ff

+ 1 - 1
class-winter-core/src/main/java/winter/com/ideaaedi/classwinter/util/BashUtil.java

@@ -146,7 +146,7 @@ public final class BashUtil {
         BufferedReader bufferedReader = null;
         BufferedReader bufferedReader = null;
         StringBuilder sb = new StringBuilder(64);
         StringBuilder sb = new StringBuilder(64);
         try {
         try {
-            File tmpBatFile = new File("/mp_" + System.currentTimeMillis() + ".bat");
+            File tmpBatFile = new File("/tmp_" + System.currentTimeMillis() + ".bat");
             IOUtil.writeContentToFile(batContent, tmpBatFile);
             IOUtil.writeContentToFile(batContent, tmpBatFile);
             process = Runtime.getRuntime().exec(tmpBatFile.getAbsolutePath());
             process = Runtime.getRuntime().exec(tmpBatFile.getAbsolutePath());
             inputStream = process.getInputStream();
             inputStream = process.getInputStream();