Not sure what you mean by 'intermediate', but have a look at the following article: When Runtime.exec() won't - JavaWorld
It lists how one can go about reading the OutputStream from a Process.