Try using the String[] version of exec.
That way it's doesn't get confused about what is a single argument.

i.e. String[] args = { "ci","-m bbb bbb","fred","bill","ernie" };
Runtime.getRuntime().exec(args);

Joe

Jon Priddey wrote:
> 
> Any help much appreciated:
> 
> I've got some code which integrates with RCS.
> It creates a Process with:
> Runtime.getRuntime().exec("ci -m\"blah blah blah\" filename",env);
> 
> where "blah blah blah" is the description of the check-in.
> Enclosed in double quotes (") to group the words as a single parameter.
> 
> My 116v2 seems to have problems with this, though it works fine on a Sun
> JDK.
> 
8<
-- 
Joe Carter      Software Engineer
Brite Voice Systems Ltd, Gatley, Cheshire. UK.
mailto:[EMAIL PROTECTED]

Reply via email to