Bo Peng wrote:
On Dec 11, 2007 10:21 AM, Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote:
Bo Peng wrote:
So no one can reproduce this problem?
I can.
Peter,
I suspect that the process is not run under the /tmp/blah directory,
could you please check this?
Does this patch help?
--
Peter Kümmel
Index: src/support/SystemcallPrivate.cpp
===================================================================
--- src/support/SystemcallPrivate.cpp (revision 22068)
+++ src/support/SystemcallPrivate.cpp (working copy)
@@ -19,7 +19,9 @@
#include "gettext.h"
#include "qstring_helpers.h"
+#include <QDir>
+
namespace lyx {
namespace support {
@@ -55,6 +57,7 @@
progress->appendMessage(cmd.c_str());
}
+ process.setWorkingDirectory(QDir::currentPath());
process.setReadChannel(QProcess::StandardOutput);
process.start(cmd.c_str(), QStringList(), QIODevice::ReadOnly);
// wait some seconds until the process has started