Thank you Antoine!
Regards
Michael
Antoine Levy-Lambert wrote:
Hi,
if the implementation of rsync asks for the passphrase on the console
and not from stdin (programs like su or login do this for their query
of password) there is no way you can give the passphrase
when starting rsync using the ant task exec. <exec/> interacts with
executables the same way as a shell script. Shell languages cannot
either feed the console, only stdin.
So the solution would be to rewrite rsync in java. A lot of work probably.
Regards,
Antoine
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]