process.waitFor () nunca retorna

Process process = Runtime.getRuntime().exec("tasklist");
BufferedReader reader = 
    new BufferedReader(new InputStreamReader(process.getInputStream()));
process.waitFor();

questionAnswers(10)

yourAnswerToTheQuestion