Runtime.exec() produces errors on WindowsNT/2000. The same arguments, that works correctly in JDK 1.3.1 do not work in JDK 1.4.0 beta 75. On Unix systems the functionality is O.K. in all JDK versions.
When I have following String[] array
array[0]=cmd
array[1]=/X
array[2]=/C
array[3]=cd /D "C:\WINNT\Profiles\mentlicher\Application Data\CVS_WORK\."&& "cvs" -d ":local:C:\WINNT\Profiles\mentlicher\Application Data\CVS_REP" status "Package\LocaleChange.java"
and call: Runtime.getDefault().exec(array), the command executes, but I get following error on the error output:
The name specified is not recognized as an
internal or external command, operable program or batch file.
This makes the VCS integration module of Forte 4 Java unusable on JDK 1.4.0
I've filled a similar bug for this (#4485848), it was marked as a duplicate of a bug, that did not fix this problem. So please fix it and do not mark it as a duplicate.