This was due to a problem with the QProcess parser.
See #9453 for details.
This commit is contained in:
Enrico Forestieri 2015-03-16 00:34:35 +01:00
parent fcf8d1a746
commit 0a5e1f20fc

View File

@ -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 + " \" & ";
}