I'd like to get the wget output at the same time or some seconds after it's printed on the terminal. To explain what I'm trying to get look at this command wget --recursive --no-clobber --page-requisites --html-extension --convert-links --no-parent http://programmers.blogoverflow.com/
it'll download this entire website, and during it's execution it'll output step by step the process it completed, this is what I'm trying to get. Do you guys know how can I do that?
This is what I have so far:
try {
Process processWhoAmI = Runtime.getRuntime().exec("wget --recursive --no-clobber --page-requisites --html-extension --convert-links --no-parent http://programmers.blogoverflow.com/");
} catch (IOException e) {
System.out.println(e);
}