On Friday 29 October 2004 22:22, itsme213 wrote:
> DOS shell Console
> dir works fine no output; spinner
> ruby works fine no output; spinner
> cd works fine works fine
>
> What is going on? Any and all help appreciated!
hi there! i had a short look into the code - and can offer 2 wild guesses:
1) the Console does not draw stderr of a command empty
this could be the reason, as sun warns in the documentation:
"Because some native platforms only provide limited buffer size for standard
input and output streams, failure to promptly write the input stream or read
the output stream of the subprocess may cause the subprocess to block, and
even deadlock."
2) Process.exitCode() is not called after Process.waitFor()
i heard about some weird behaviours if you don't do thar
like memory leaks a while ago, but i'm not sure what the
real problem was - and this probably has nothing to do
with your problem.
daniel
|