The Runtime.exec methods on NT do not quote their arguments. They simply concatenate them into a command string. If an argument contains white space, it will be interpreted as two separate arguments by the spawned subprocess.
- duplicates
-
JDK-4064116 Runtime.exec(String[]) collapses white spaces on Win32
-
- Closed
-