I am running the VSS command line from a java app.
I run the runtime.exec, this executes a bat file.
I need to read the output of the process - which is the contents of a file from VSS.
However my reader only shows me the that it has run each line from the bat file, not any of the ouput. I kept thinking i should be using the p.getOutputStream() method, but i can only write to that. I am most confused.
At present i have the following code
I am sure i am missing something obvious here.
Thanks in advance