in reply to Re: Re: output to screen by hitting return key
in thread Program hangs while gathering external program output
Only a suggestion, but can you close STDIN before calling the Java program? Sometimes the Right Thing happens when reading from a file descriptor you expect to be open, when it isn't. (And sometimes spectacularly the wrong thing happens...)