]> git.lyx.org Git - features.git/blobdiff - src/support/SystemcallPrivate.h
Properly account for output redirection with QProcess.
[features.git] / src / support / SystemcallPrivate.h
index c0a4c7755a66c016b902ff4bec941f178a23a235..09ccfb61627511454fc751b695e29eda48855504 100644 (file)
@@ -32,7 +32,7 @@ class SystemcallPrivate : public QObject
        Q_OBJECT
 
 public:
-       SystemcallPrivate(std::string const & outfile);
+       SystemcallPrivate(std::string const & outfile, std::string const & errfile);
        ~SystemcallPrivate();
 
        enum State {
@@ -74,6 +74,8 @@ private:
        size_t err_index_;
        ///
        std::string out_file_;
+       ///
+       std::string err_file_;
 
        /// Size of buffers.
        static size_t const buffer_size_ = 200;