]> git.lyx.org Git - features.git/blobdiff - src/support/SystemcallPrivate.h
also delete process on errors, use RAII therefore
[features.git] / src / support / SystemcallPrivate.h
index a7c25639006c4a5317c8d1a4a9b17e4d9b4c5f54..ff4afed0ea88419bb2f2d8505b62b624c4776aff 100644 (file)
@@ -56,7 +56,9 @@ public:
        QString exitStatusMessage() const;
 
        void flush();
-       void killProcess();
+
+       QProcess* releaseProcess();
+       
        static void killProcess(QProcess * p);
 
 private:
@@ -81,6 +83,8 @@ private:
 
        void waitAndProcessEvents();
 
+       void killProcess();
+
 public Q_SLOTS:
        void stdOut();
        void stdErr();