kawa shell concept

Helmut Eller eller.helmut@gmail.com
Tue Feb 7 21:20:00 GMT 2012


* Per Bothner [2012-02-07 19:18] writes:

>>>      Pipe
>>>
>>>   (run in: (run "command1") "command2")
>>
>> How's this implemented in Java?  Is there even a JDK API to create real
>> pipes?
>
> The default (and initial) implementation would just use a helper thread.
> It reads from the output stream of command1, and writes to the input
> stream of command2.  Do you know of any problems (like risk of deadlock)
> doing it this way?

No; it just sounds inefficient.

Helmut



More information about the Kawa mailing list