ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Guthrie" <>
Subject Re: How to execute a command that reads from stdin
Date Sat, 08 Feb 2003 18:56:14 GMT
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.


----- Original Message -----
From: "Zsolt Koppany" <>
To: <>
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:
> For additional commands, e-mail:

View raw message