WaitFor() not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anujtmr9
    New Member
    • May 2017
    • 1

    WaitFor() not working

    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.?
  • chaarmann
    Recognized Expert Contributor
    • Nov 2007
    • 785

    #2
    wait until its output stream closes.

    Comment

    Working...