I m executing a .bat file by Java run time.But the process starting the command prompt exist immediately.Is there any way to keep track when the command prompt process will be completed.?