+2005-08-10 Angus Leeming <leeming@lyx.org>
+
+ * tex_helpers.C (rescanTexStyles): Quote the path to TeXFiles.sh
+ to avoid problems with "paths with spaces".
+
2005-08-07 Angus Leeming <leeming@lyx.org>
* ControlExternal.C (origin_gui_str): ensure that the strings
using support::OnlyFilename;
using support::package;
using support::Path;
+using support::QuoteName;
using support::split;
using support::Systemcall;
using support::token;
Path p(package().user_support());
Systemcall one;
one.startscript(Systemcall::Wait,
- "sh " + LibFileSearch("scripts", "TeXFiles.sh"));
+ "sh " +
+ QuoteName(LibFileSearch("scripts", "TeXFiles.sh")));
}