Skip to content

Commit

Permalink
Fixed #1
Browse files Browse the repository at this point in the history
+ The execution of dot executable is now not dependent on system
(Windows/Linux).
  • Loading branch information
sbellus committed Nov 22, 2017
1 parent a78d2f0 commit e35e78d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public GraphicsSvg convert(GraphicsWiki wiki) throws GraphicsWikiToSvgConvertion
String dotPath = FilenameUtils.getFullPath(dotFile.toString());

Process runner = Runtime.getRuntime().exec(
new String[] { "cmd.exe", "/c", dotExecutable, "-Tsvg", dotFile.getName() }, null,
new String[] { dotExecutable, "-Tsvg", dotFile.getName() }, null,
new File(dotPath));

InputStream stdout = runner.getInputStream();
Expand Down

0 comments on commit e35e78d

Please sign in to comment.