> I get no response from the program and it doesn't seem to respond to
> the command.
What exactly do you mean by that statement? Does your program block
when it does a process.waitFor()?
If there's a chance that the program you're executing will send
anything to stdout or stderr then you'll need to create a thread to
read from the stream(s) that it's writing to (process.getInputStream()
/ process.getErrorStream()) as Lee mentioned. Note that if you don't
and if the program writes more data than the size of the output buffers
then the program will block waiting for someone to read from the other
side of those buffers...and nobody's there to read from it...deadlock.
John
http://schemaspy.sourceforge.net