Problem calling rsync from java on OSX

Drew Lippolt lists-rsync at azera.net
Fri Nov 19 19:04:23 GMT 2004



Wayne Davison wrote:

>On Fri, Nov 19, 2004 at 12:05:25PM -0600, Drew Lippolt wrote:
>  
>
>>the redirection stuff doesn't work too well when called from java.
>>    
>>
>
>Yes, I thought that the exec function might not directly parse a
>shell redirection character, but bear in mind that there are always
>ways to affect the stdin that is passed to a process.  E.g. put the
>rsync command into a shell script (which will parse the normal shell
>redirection character) or jump through whatever java hoops are
>necessary to change the stdin of a process that is being executed
>(the page you cited gives some example code for how to do that).
>
>  
>
none of these had any effect, surprisingly.

>Your kluge is certainly fine as long as you don't need to run from
>inetd (which you said you don't).
>
>..wayne..
>  
>

and kludge is putting it nicely :)  thanks for the feedback.

<drew>


More information about the rsync mailing list