[EMAIL PROTECTED] wrote:
>
> Hi there
>
> This is what I'm DESPERATLY after. I can read the output and write to
> input BUT THIS IS ONLY IF it's another Java program that I am calling
> within by Java program using:
>
> Read:
> is= GUIprogres.getInputStream();
> BufferedReader reader = new BufferedReader(new InputStreamReader(is));
> and then reader.readLine();
>
> Write:
>
> os=GUIprogres.getOutputStream();
> BufferedWriter writer= new BufferedWriter(new InputStreamWriter(is));
> and then writer.write();
>
> This Does NOT work when I try to do the same with a CONSOLE-based
> C-program
Have you tried flushing the write buffer (writer.flush()) after you
write?
Nathan
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]