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
--
T
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
ation, assuming the resultant
binary would never be run in any mode except daemon mode?
thanks,
Wayne Davison wrote:
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 a
uot;--daemon",
"--config=/Users/dlippolt/.azerup/rsyncd.conf",
"--port=2874"
};
Process child = Runtime.getRuntime().exec(commands);
} catch (IOException e) {
System.err.println (e);
}
-damon
--- Drew Lippolt <[EMAIL PROTECTED]> wrote
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