[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] Re: Problem when converting PDF - SWF
From: |
Matthias Kramm |
Subject: |
Re: [Swftools-common] Re: Problem when converting PDF - SWF |
Date: |
Tue, 6 May 2008 11:57:07 +0200 |
User-agent: |
Mutt/1.5.6i |
On Tue, May 06, 2008 at 12:17:25PM +0530, eusabia roseline <address@hidden>
wrote:
> in = new BufferedReader(new
> InputStreamReader(p.getErrorStream()));
Please read out p.getInputStream(), too, and do the waitFor() *after*
reading out the streams.
Something like this:
BufferedReader stdInput = new BufferedReader(new
InputStreamReader(p.getInputStream()));
BufferedReader stdError = new BufferedReader(new
InputStreamReader(p.getErrorStream()));
while (true) {
String s1 = stdInput.readLine();
String s2 = stdError.readLine();
if(s1 != null) {
System.out.println(s1);
} else if(s2 != null) {
System.out.println(s2);
} else {
break;
}
}
p.waitFor();
Greetings
Matthias
- [Swftools-common] Re: Problem when converting PDF - SWF, eusabia roseline, 2008/05/02
- Re: [Swftools-common] Re: Problem when converting PDF - SWF, Matthias Kramm, 2008/05/05
- Re: [Swftools-common] Re: Problem when converting PDF - SWF, eusabia roseline, 2008/05/05
- Re: [Swftools-common] Re: Problem when converting PDF - SWF, Matthias Kramm, 2008/05/05
- Re: [Swftools-common] Re: Problem when converting PDF - SWF, eusabia roseline, 2008/05/06
- Re: [Swftools-common] Re: Problem when converting PDF - SWF, Novice Programmer, 2008/05/06
- Re: [Swftools-common] Re: Problem when converting PDF - SWF,
Matthias Kramm <=
- Re: [Swftools-common] Re: Problem when converting PDF - SWF, eusabia roseline, 2008/05/06
- Re: [Swftools-common] Re: Problem when converting PDF - SWF, eusabia roseline, 2008/05/20
- Re: [Swftools-common] Re: Problem when converting PDF - SWF, Matthias Kramm, 2008/05/20