commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: [exec] How to capture Standard Output from external command
Date Thu, 16 Feb 2012 18:39:42 GMT
2012/2/16 Robert Stagner <restagner@gmail.com>:
> Hi
>
> I'm new to the list and investigating the use of Exec.   How would I go
> about capturing the Standard Output from an external command?  If possible,
> please provide a code example.

See ExecuteStreamHandler interface and PumpStreamHandler class.

Best regards,
Konstantin Kolinko

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


Mime
View raw message