X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2FSystemcallPrivate.h;h=5aac5431ef703ad80fb533d4f3fef6da3b9cd833;hb=10b4a4718539ea45d908dc3d051ae2284f9678e6;hp=c8e3aa734c500c97be01555e419305922caba6ec;hpb=952a31a43ef55e86f11dfe58842ccc588a5a47c5;p=lyx.git diff --git a/src/support/SystemcallPrivate.h b/src/support/SystemcallPrivate.h index c8e3aa734c..5aac5431ef 100644 --- a/src/support/SystemcallPrivate.h +++ b/src/support/SystemcallPrivate.h @@ -32,7 +32,8 @@ class SystemcallPrivate : public QObject Q_OBJECT public: - SystemcallPrivate(std::string const & outfile); + SystemcallPrivate(std::string const & infile, std::string const & outfile, + std::string const & errfile); ~SystemcallPrivate(); enum State { @@ -44,7 +45,8 @@ public: State state; bool waitWhile(State, bool processEvents, int timeout = -1); - void startProcess(const QString& cmd); + void startProcess(QString const & cmd, std::string const & path, + std::string const & lpath, bool detach); int exitCode(); @@ -73,7 +75,11 @@ private: /// Index to the standard error buffer. size_t err_index_; /// + std::string in_file_; + /// std::string out_file_; + /// + std::string err_file_; /// Size of buffers. static size_t const buffer_size_ = 200;