In Cmake script i want to wait 10 seconds in a loop monitoring a hotfolder.
while (NOT EXISTS ..... message(STATUS "waiting...") execute_process(COM