Changeset 1577 in ntrip


Ignore:
Timestamp:
Feb 11, 2009, 4:38:09 PM (15 years ago)
Author:
weber
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/latencychecker.cpp

    r1572 r1577  
    4040
    4141#include <iostream>
     42#ifdef WIN32
     43#include <windows.h>
     44#endif
     45
    4246
    4347#include "latencychecker.h"
     
    473477void latencyChecker::callScript(const char* comment) {
    474478  if (!_adviseScript.isEmpty()) {
    475     sleep(1);
    476479#ifdef WIN32
     480    Sleep(1);
    477481    QProcess::startDetached(_adviseScript, QStringList() << _staID << comment) ;
    478482#else
     483    sleep(1);
    479484    QProcess::startDetached("nohup", QStringList() << _adviseScript << _staID << comment) ;
    480485#endif
Note: See TracChangeset for help on using the changeset viewer.