You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by c c <cc...@yahoo.com> on 2004/07/22 02:52:03 UTC
hanging problem
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.
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
Re: hanging problem
Posted by Antoine Levy-Lambert <an...@gmx.de>.
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