Displaying 3 results from an estimated 3 matches for "processvalu".
Did you mean:
processvalue
2004 Nov 19
1
Problem calling rsync from java on OSX
...main(String[] args) {
String cmd = "/Users/dlippolt/.azerup/rsync --daemon
--config=/Users/dlippolt/.azerup/rsyncd.conf --port=2874";
System.out.println(cmd);
try {
Process proc = Runtime.getRuntime().exec(cmd);
System.out.println("DEBUG: Rsync Processvalue: " +
proc.waitFor());
} catch (Throwable t) {
t.printStackTrace();
}
}
}
/*****************************/
java note: it didn't make any difference if i connected to the std
in/out/err using BufferedReaders so i left that code out for brevity.
java note: whe...
2004 Nov 19
0
[AustinJUG] Problem calling rsync from java on OSX
...ppolt/.azerup/rsync --daemon
>>--config=/Users/dlippolt/.azerup/rsyncd.conf --port=2874";
>>
>> System.out.println(cmd);
>>
>> try {
>> Process proc = Runtime.getRuntime().exec(cmd);
>> System.out.println("DEBUG: Rsync Processvalue: " +
>>proc.waitFor());
>>
>> } catch (Throwable t) {
>>
>> t.printStackTrace();
>>
>> }
>>
>>
>> }
>>
>>}
>>
>>/*****************************/
>>
>>java note: it didn't make...
2009 May 18
0
how to monkeypatch Hash's = method, revisted
...atch+Hash%27s+%5B%5D%3D+method+#58b80fe0d4eadb1a
But while reading, and admittedly not quite getting the solution, I
had a bright moment to balance out the stupid moment, realising that []
= already has an alias to which you can delegate:
class Hash
def []= key, value
store processKey(key), processValue(value)
end
end
Hope it helps