Jabba Laci wrote: > Could you please help me out how to close the application correctly? > I think you should put a flag into the code, which the parent might modify it, so it will tell the child process to quit. Then the flag should need to be read periodically to know whether is time to quit.