Pavel Sanda wrote:
[EMAIL PROTECTED] wrote:
Author: kuemmel
Date: Tue Nov 18 22:00:12 2008
New Revision: 27623
URL: http://www.lyx.org/trac/changeset/27623
Log:
we don't need quotations when there are no spaces in the path name
why is this needed? it looks like complicating code without any real profit,
moreover it looks like trying to hide completely different problem. i'm also not
sure that spaces are the only problem that can happen without quotes...
pavel
I had the impression that we always call with quotes but the usage of ::system
fixes this, means fixes our buggy file names.
But I still need to prove it, with a patch like attached.
The benefit of the commit is that with it the processing works.
Peter
Index: src/support/Systemcall.cpp
===================================================================
--- src/support/Systemcall.cpp (revision 27630)
+++ src/support/Systemcall.cpp (working copy)
@@ -15,6 +15,7 @@
#include "support/Systemcall.h"
#include "support/os.h"
+#include "debug.h"
#include <cstdlib>
@@ -39,6 +40,7 @@
}
}
+ lyxerr << command.c_str() << "\n";
return ::system(command.c_str());
}