Hello Michael,

not exactly sure why there is this handle problem.

you might want to try - supposing you are working with ant 1.6 and that
there is a ssh daemon on the host where you want to execute something
remotely - the sshexec task.

Otherwise, there are a <telnet/> and a <rexec/> task in ant.

Cheers,

Antoine

> --- Ursprüngliche Nachricht ---
> Von: [EMAIL PROTECTED]
> An: user@ant.apache.org
> Betreff: Error executing RSH from ANT script
> Datum: Tue, 30 Aug 2005 07:46:38 -0700
> 
> 
> 
> 
> 
> I'm getting the following error message on the console view when I execute
> rsh in an ANT script.
> 
> [exec] Terminal readThe handle is invalid.
> [exec] /home/jerome
> 
> The execute task is:    <arg
> value='coke'/> <arg value='${coke.user}'/><arg value='sh make.sh'/>
> The shell script contains a single pwd command.
> 
> When executed directly from a DOS command prompt, the RSH command displays
> the working directory sans error message.
> 
> Any suggestions for how to eliminate the "terminal read ..." error
> message?
> 
> Michael Giroux
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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

Reply via email to