I am running a windows exe using Runtime.getruntime().exec. This works fine. However I am running the same exe hundreds of time and I would like to keep it in memory. The exec command deletes the tread after it is finished. Is there a way to keep the process in memory after it is finished and run it again?