|
@@ -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();
|