if you look at the archives, someone came up with a task to do this for java
tasks a while back called InOutJava (my apologies to said someone for not
giving him due credit). the problem was that you could not fork a new jvm
with this task. i was playing with this myself, and, still in java,  i
figured this can easily be done using aspectj, with or without forking. not
that i *have* done it yet.

john

----- Original Message -----
From: "Zsolt Koppany" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 08, 2003 1:52 PM
Subject: How to execute a command that reads from stdin


> Hi,
>
> how can I execute a task from Ant that has to read from the stdin? I
> mean like in shell "cat < in.lst". I have to start a program that
> unfortunately does not understand a flag with a filename to read from.
> --
> Zsolt
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to