#include "support/filetools.h"
-#include "support/convert.h"
#include "support/debug.h"
#include "support/environment.h"
#include "support/gettext.h"
using namespace std;
+#define USE_QPROCESS
+
namespace lyx {
namespace support {
// filenames to child processes if possible. We store them in
// a python script instead, where we don't have these
// limitations.
+#ifndef USE_QPROCESS
return (os::shell() == os::UNIX) ?
'\'' + name + '\'':
'"' + name + '"';
+#else
+ return '"' + name + '"';
+#endif
case quote_python:
return "\"" + subst(subst(name, "\\", "\\\\"), "\"", "\\\"")
+ "\"";