Fixed NuProcessBuilder use for the second command in Pdf2SwfPageConverter.
This commit is contained in:
parent
ce31bdd369
commit
98e966bef1
@ -65,7 +65,7 @@ public class Pdf2SwfPageConverter implements PageConverter {
|
||||
+ File.separator, "pdf2swf", "-v", AVM2SWF, "-s", "poly2bitmap",
|
||||
"-F", fontsDir, "-p", String.valueOf(page), source, "-o", dest));
|
||||
Pdf2SwfPageConverterHandler pBmpHandler = new Pdf2SwfPageConverterHandler();
|
||||
pb.setProcessListener(pBmpHandler);
|
||||
pbBmp.setProcessListener(pBmpHandler);
|
||||
NuProcess processBmp = pbBmp.start();
|
||||
try {
|
||||
processBmp.waitFor(60, TimeUnit.SECONDS);
|
||||
|
Loading…
Reference in New Issue
Block a user