diff --git a/makefile b/makefile index e306fdf..5d12de5 100644 --- a/makefile +++ b/makefile @@ -48,6 +48,13 @@ $(SRC).o : lib/$(SRC).cpp lib/$(SRC).hpp lib/tdm_datamodel.hpp clean : rm -f $(EXE) *.o +# --------------------------------------------------------------------------- # +# check process + +checkps : + @ps aux | head -n1 + @ps aux | grep $(EXE) | grep -v "grep" + # --------------------------------------------------------------------------- # # python module # diff --git a/src/main.cpp b/src/main.cpp index 092eb97..618b73e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4,6 +4,8 @@ #include #include +#include +#include // ------------------------------------------------------------------------- // @@ -239,6 +241,8 @@ int main(int argc, char* argv[]) // } } + std::this_thread::sleep_for(std::chrono::milliseconds(10000)); + return 0; }