Java runtime and cvs command
Hello,
I want use with java a cvs command which is:
cvs -d /home/ref checkout -d /home/me/workspace -D "2004-07-13 08:55:07 UTC" mymodule
I store this command on a String
String cmd;
cmd = "cvs -d /home/ref checkout -d /home/me/workspace -D \"2004-07-13 08:55:07 UTC\" mymodule"
and I exec:
Runtime r = Runtime.getruntime();
r.exec(cmd);
but the answer is:
cvs [checkout aborted]: Can't parse date/time: `"2004-07-13'
If I display cmd and I paste it on a terminal, it's good, but in java program not!!!!
Can you explain me why? It's a problem of encoding characters in java String?
Thanks

