ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bret Kumler" <>
Subject RE: Question.
Date Wed, 25 Oct 2006 18:24:41 GMT
Is there a way to pipe a file to the input and have the process spawned
to the background?

testprogram < test.txt


-----Original Message-----
From: Bret Kumler 
Sent: Wednesday, October 25, 2006 10:46 AM
To: Ant Users List
Subject: Question.

How would one execute the following via ant?

echo 'start lstn' | testprogram

Where testprogram is located say C:/testarea/bin.

Do I use <exec dir C:/testarea/bin " executable="echo 'start lstn' |
testprogram " spawn="true"/> ?


This e-mail message and any attachments may contain private, confidential, proprietary or
privileged material of GoldenGate Software, Inc. that is for the sole use of the intended
recipient(s) of this e-mail message.  Any review, copying or distribution or other use of
this e-mail message or any attachments hereto by anyone other than the intended recipient(s)
is strictly prohibited.  If you are not the intended recipient(s) of this e-mail message,
please contact GoldenGate Software, Inc. (415-777-0200) immediately and permanently delete
the original e-mail message and any copies of this e-mail message and all attachments, if

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message