]> git.lyx.org Git - features.git/blobdiff - src/LaTeX.C
Correctly quote file names when running LaTeX (problem with u umlaut in name)
[features.git] / src / LaTeX.C
index 73bf70c380df874a15712dc88146af0e1f04c485..380c14a9fdd8d6e23c3e9896469ba2984c6f99d8 100644 (file)
@@ -292,7 +292,7 @@ int LaTeX::run(TeXErrors & terr, MiniBuffer * minib)
 int LaTeX::operator()()
 {
 #ifndef __EMX__
-       string tmp = cmd + ' ' + file + " > /dev/null";
+       string tmp = cmd + ' ' + QuoteName(file) + " > /dev/null";
 #else // cmd.exe (OS/2) causes SYS0003 error at "/dev/null"
        string tmp = cmd + ' ' + file + " > nul";
 #endif