On Mon, Mar 16, 2015 at 12:36:18AM +0100, Enrico Forestieri wrote:

> commit 0a5e1f20fc807535dd83ddc52d65a22548e478e8
> Author: Enrico Forestieri <for...@lyx.org>
> Date:   Mon Mar 16 00:34:35 2015 +0100
> 
>     Fix bug #9453
>     
>     This was due to a problem with the QProcess parser.
>     See #9453 for details.

Richard, this one and 1af2242c should go to stable.
Incidentally, It seems I cannot CC people anymore in the track system.

> diff --git a/src/support/filetools.cpp b/src/support/filetools.cpp
> index 5704aa1..229dd2e 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 + " \" & ";
>  }
>  
>  

-- 
Enrico

Reply via email to