ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin" <mgai...@hotmail.com>
Subject Re: How to execute a command that reads from stdin
Date Thu, 15 Aug 2002 19:46:19 GMT
Zsolt-

use javascript to read from STDIN
<script language="javascript"> <![CDATA[
read(STDIN, $StringBuffer, $ENV{'CONTENT_LENGTH'})
]]> </script>

werden Sie daraus klug?
-Martin

----- Original Message ----- 
From: "Zsolt Koppany" <zkoppany@web.de>
To: <ant-user@jakarta.apache.org>
Sent: Saturday, February 08, 2003 2: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: ant-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: ant-user-help@jakarta.apache.org
> 

Mime
View raw message