This was due to a problem with the QProcess parser.
See #9453 for details.
This commit is contained in:
Enrico Forestieri 2015-03-16 20:21:49 +01:00
parent a50c0f7d13
commit 1fb3f8b4e0
2 changed files with 6 additions and 8 deletions

View File

@ -607,15 +607,11 @@ string latexEnvCmdPrefix(string const & path)
return "env TEXINPUTS=\"." + sep + texinputs_prefix
+ sep + texinputs + "\" ";
else
#ifndef USE_QPROCESS
return "cmd /d /c set \"TEXINPUTS=."
// NOTE: the dummy blank dir is necessary to force the
// QProcess parser to quote the argument (see bug 9453)
return "cmd /d /c set \"TEXINPUTS=." + sep + " "
+ sep + texinputs_prefix
+ sep + texinputs + "\"&";
#else
return "cmd /d /c set \"\"\"TEXINPUTS=."
+ sep + texinputs_prefix
+ sep + texinputs + "\"\"\"&";
#endif
+ sep + texinputs + "\" & ";
}

View File

@ -87,6 +87,8 @@ What's new
- Fix conversion of beamer block arguments where the overlay argument and the
closing title argument bracket share the same ERT (bug 9411).
- Fix handling of the TEXINPUTS environment variable on Windows (bug 9453).
* USER INTERFACE