Merge branch 'dev_lxw' of https://whychdw@gitlab.com/whyclxw1/gx_tieta.git into dev_lxw
| | |
| | | f = f.getParentFile();
|
| | | }
|
| | |
|
| | | jarPath = f.getParentFile().getAbsolutePath()+File.separator+"Batt_MS_FBSDEV_X64/Batt_MS_FBSDEV/"+"BTSE_DB_Builder.jar"; //主程序中jar的目录
|
| | | jarPath = f.getParentFile().getAbsolutePath()+File.separator+"Batt_MS_FBSDEV_X64/Batt_MS_FBSDEV/"+"BTSE_DB_Builder.exe"; //主程序中exe的目录
|
| | | //strcmd = "cmd /c start "+batPath;
|
| | | strcmd = ("cmd /c start ")+jarPath.replaceAll(" ", "\" \""); //修复绝对路径中存在空格时执行不成功bug
|
| | | System.out.println(strcmd);
|
| | | Process child = null;
|
| | | InputStream in = null;
|
| | | try {
|