Compare commits
3
Commits
701cf8e463
...
6ac2d30419
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6ac2d30419 | ||
|
|
561b337b23 | ||
|
|
4fb6833645 |
@@ -60,8 +60,8 @@ public class FileModule extends BaseHandler implements FileService {
|
||||
var dest = source+".svg";
|
||||
String[] command = {"dia","-e",dest,source.toString()};
|
||||
try {
|
||||
Runtime.getRuntime().exec(command);
|
||||
} catch (IOException e) {
|
||||
Runtime.getRuntime().exec(command).waitFor();
|
||||
} catch (IOException | InterruptedException e) {
|
||||
LOG.log(WARNING,"Failed to convert {} to SVG file",source,e);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user