Stephane Bailliez <[EMAIL PROTECTED]> wrote: > I cannot see what drives the need of using CommandLauncher for JDK > 1.2 and JDK11CommandLauncher for JDK 1.1 > > The only difference is the quoting that occurs in > JDK11CommandLauncher, but this should be set in all CommandLauncher.
No. We are using Runtime.exec(String[]) to launch the external process. When doing so, command line arguments have already been split into separate items and you don't need to quote them anymore - so much much for the theory. Sun's JDK 1.1 on Windows has bug here, so quoting is necessary. Using quotes regardless is going to cause havoc (at least on Unix systems) as these will not be stripped by the shell and become part of the actual arguments. Am I making sense? Stefan
