diff --git a/chrome/content/zotero/xpcom/fulltext.js b/chrome/content/zotero/xpcom/fulltext.js index 70ad0d6e5e..f9923a039c 100644 --- a/chrome/content/zotero/xpcom/fulltext.js +++ b/chrome/content/zotero/xpcom/fulltext.js @@ -429,7 +429,12 @@ Zotero.Fulltext = new function(){ var args = [file.path, infoFile.path]; try { - proc.run(true, args, args.length); + if (!Zotero.isFx36) { + proc.runw(true, args, args.length); + } + else { + proc.run(true, args, args.length); + } var totalPages = this.getTotalPagesFromFile(itemID); } catch (e) { @@ -460,7 +465,12 @@ Zotero.Fulltext = new function(){ } args.push(file.path, cacheFile.path); try { - proc.run(true, args, args.length); + if (!Zotero.isFx36) { + proc.runw(true, args, args.length); + } + else { + proc.run(true, args, args.length); + } } catch (e) { Zotero.debug("Error running pdftotext");