On Wed, 12 Sep 2001, detlef brendle <[EMAIL PROTECTED]> wrote:

> I need to call an external process from within my Java program and
> parse the outputstream of the process.  What sort of built-in
> wrappers does ant have for this kind of task ?

Take a look at org.apache.tools.ant.taskdefs.Execute - this class
encapsulates the platform and VM specific logic of executing system
commands in an arbitrary directory and is used by several built-in
tasks (including <exec> and <java fork="yes">).

Stefan

Reply via email to