From 0a5e1f20fc807535dd83ddc52d65a22548e478e8 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Mon, 16 Mar 2015 00:34:35 +0100 Subject: [PATCH] Fix bug #9453 This was due to a problem with the QProcess parser. See #9453 for details. --- src/support/filetools.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/support/filetools.cpp b/src/support/filetools.cpp index 5704aa1e11..229dd2e1da 100644 --- a/src/support/filetools.cpp +++ b/src/support/filetools.cpp @@ -733,15 +733,10 @@ string latexEnvCmdPrefix(string const & path) return "env TEXINPUTS=\"." + sep + texinputs_prefix + sep + texinputs + "\" "; else -#ifndef USE_QPROCESS + // NOTE: *any* space in the last string matters! (see bug 9453) return "cmd /d /c set \"TEXINPUTS=." + sep + texinputs_prefix - + sep + texinputs + "\"&"; -#else - return "cmd /d /c set \"\"\"TEXINPUTS=." - + sep + texinputs_prefix - + sep + texinputs + "\"\"\"&"; -#endif + + sep + texinputs + " \" & "; } -- 2.39.2