commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siegfried Goeschl <siegfried.goes...@it20one.at>
Subject Re: Commons Exec examples with input/output stream processing
Date Sun, 28 Dec 2008 22:15:29 GMT
Hi Derek,

no ready-to-use example for input stream - an example for output stream
handling you find in DefaultExecutorTest.java

Cheers,

Siegfried Goeschl

Derek Palma wrote:
> Hi,
>
>  
>
> Are there any examples where stdin is passed to the sub-process and its
> output is received by the Java caller? It appears the default behavior is
> just to send stdout /err to System.out/err. I see the Exec API is not hard
> to understand but I am sure an example would save some time and probably
> show the best practices.
>
>  
>
> Thanks in advance.
>
> Derek
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message