Index: trunk/BNC/bncrinex.cpp
===================================================================
--- trunk/BNC/bncrinex.cpp	(revision 674)
+++ trunk/BNC/bncrinex.cpp	(revision 675)
@@ -617,4 +617,5 @@
   _out.close();
   if (!_rnxScriptName.isEmpty()) {
+    msleep(1);
 #ifdef WIN32
     QProcess::startDetached(_rnxScriptName, QStringList() << _fName) ;
Index: trunk/BNC/bncrinex.h
===================================================================
--- trunk/BNC/bncrinex.h	(revision 674)
+++ trunk/BNC/bncrinex.h	(revision 675)
@@ -26,4 +26,5 @@
 #define BNCRINEX_H
 
+#include <QThread>
 #include <QByteArray>
 #include <QDateTime>
@@ -35,5 +36,5 @@
 #include "RTCM/GPSDecoder.h"
 
-class bncRinex {
+class bncRinex : public QThread {
  public:
    bncRinex(const QByteArray& statID, const QUrl& mountPoint, 
@@ -47,4 +48,7 @@
                                const QString& intStr, 
                                QDateTime* nextEpoch = 0);
+
+ protected:
+   virtual void run() {};
 
  private:
