Re: How to read from output streams

1999-07-05 Thread Mak
Thanks a lot. It's really reassuring. I'll try this tomorrow on linux machine, hopefully. THANKS A LOT AGAIN -Mak At 10:45 5/07/99 +0200, Cengiz Tuztas wrote: >Yes, I use the following and it works under Linux Kernel 2.2.10 SuSE >Dist 6.1. > > private int exec( String _command , String log

Re: How to read from output streams

1999-07-05 Thread Cengiz Tuztas
[EMAIL PROTECTED] wrote: > > Yes I have flushed the writer. As I wrote earlier I can read & write to > another separate Java program but not C-program. > > Onething I forgot to say though. I'm developing this program in Win98 > platform although end of the day i have to run it on a Linux machine

Re: How to read from output streams

1999-07-04 Thread Mak
At 19:25 4/07/99 -0400, Michael Sinz wrote: >Well, Win95 and Win98 have certain limits for console based programs. >Many older (16-bit) programs don't actually use STDOUT/STDIN but rather >write to the console directly (via "video memory") > >Also, under Win95/Win98 you have some problems with ST

Re: How to read from output streams

1999-07-04 Thread Michael Sinz
On Sun, 04 Jul 1999 15:15:28 -0700, [EMAIL PROTECTED] wrote: > >Yes I have flushed the writer. As I wrote earlier I can read & write to >another separate Java program but not C-program. > >Onething I forgot to say though. I'm developing this program in Win98 >platform although end of the day i h

Re: How to read from output streams

1999-07-04 Thread ceylon
Yes I have flushed the writer. As I wrote earlier I can read & write to another separate Java program but not C-program. Onething I forgot to say though. I'm developing this program in Win98 platform although end of the day i have to run it on a Linux machine for my university project. But I'm

Re: How to read from output streams

1999-07-04 Thread Nathan Meyers
[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 Buff

Re: How to read from output streams

1999-07-04 Thread ceylon
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 the

How to read from output streams

1999-05-21 Thread Yuet Sim Lee
I am using the following method Process GUIprogres = Runtime.getRuntime().exec("a.out"); to call a C-program and I tryed to use the following command to catch the output from the C-program. GUIprogres.getOutputStream(); However, I don't know how to read streams from OutputStrea