actually, that worked great.
yay! no more kludge.
Carson Gaspar wrote:
--On Friday, November 19, 2004 13:04:23 -0600 Drew Lippolt
<[EMAIL PROTECTED]> wrote:
none of these had any effect, surprisingly.
Really? Exec()ing "/bin/bash", "-c", "rsync
--
To unsubscribe or change options: http
--On Friday, November 19, 2004 13:04:23 -0600 Drew Lippolt
<[EMAIL PROTECTED]> wrote:
none of these had any effect, surprisingly.
Really? Exec()ing "/bin/bash", "-c", "rsync
--
Carson
--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read:
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
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 p
wayne,
thanks for the helpful response.
the redirection stuff doesn't work too well when called from java. see
this page:
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
a quick scan of the 2.6.3 sourcecode showed that i could just have
is_a_socket return false (0) in all cases
yeah, i tried that already.
specifcially, mine was:
/*
String cmd[] = new String[5];
cmd[0] = "/usr/local/bin/rsync";
cmd[1] = "--daemon";
cmd[2] = "--config=/Users/dlippolt/.azerup/rsyncd.conf";
cmd[3] = "--address=127.0.0.1";
cmd[4] = "--port=2873";
*/
as an aside, i dont have m
On Thu, Nov 18, 2004 at 11:52:30PM -0600, Drew Lippolt wrote:
> can i force daemon mode, even if the rsync process thinks it should be
> running out of inet?
You might try adding "http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.htm
rsync and ajug lists,
been pulling my hair out on this one.
i have some java code which uses the Process object to spawn an rsync
connection in --daemon mode.
the exact same command executes properly when run from outside java (i.e
.on the command line) on osx. it also executes correctly from w