Is there a way to pipe a file to the input and have the process spawned
to the background?

testprogram < test.txt

Thanks

-----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"/> ?


Thanks




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 any.


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

Reply via email to