From 049eea84420a6876c2777bde1b83a2b2c7681ec6 Mon Sep 17 00:00:00 2001 From: Jonathan Byrne Date: Tue, 12 Feb 2008 10:12:45 +0000 Subject: [PATCH] KTS-2912 "Document Indexing Diagnostics shows that there is a problem indixing a PDF file" --- search2/indexing/extractorCore.inc.php | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/search2/indexing/extractorCore.inc.php b/search2/indexing/extractorCore.inc.php index 7acafcf..2a6cfa9 100755 --- a/search2/indexing/extractorCore.inc.php +++ b/search2/indexing/extractorCore.inc.php @@ -371,6 +371,9 @@ abstract class ExternalDocumentExtractor extends DocumentExtractor $script = "rem This is an auto generated file. \n"; $script .= $cmd . ' 2> "' . $script_out . "\"\r\n"; + + + } else { @@ -392,6 +395,7 @@ abstract class ExternalDocumentExtractor extends DocumentExtractor // execute the script file if (OS_WINDOWS) { + $script_name = "\"$script_name\""; $WshShell = new COM("WScript.Shell"); $res = $WshShell->Run($script_name, 0, true); } -- libgit2 0.21.4