ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject Re: hanging problem
Date Thu, 22 Jul 2004 17:41:10 GMT
Hello c c,

login is expecting input from the console, not from stdin, so you cannot 
script login.
You should be encountering the same problem if you try to do the same 
with a Bourne/C/KSH.
Cheers,
Antoine

c c wrote:

>What is the best way to debug this?
>It works on RedHat 7.3
> 
>Does anyone seen this before?
> 
>Am trying to use ANT 1.6.* on 
>RedHat ES 3.0
> 
>Just a simple fork/exec from the build.xml
> 
>and it never returns, just hang.
>
>os.version : 2.4.21-15.ELhugemem
> 
>
><target name="login"
>        description="- Product Login" >
>    <echo message="log in..." level="info"/>
>    <exec failonerror="no" executable="login">
>          <arg line="-in ${id} -noprompt ${password} -v"/>
>    </exec>
>  </target>
>
>The command executes fine manually.
>
>
>		
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message