Proposed JEP: Safer Process Launch by ProcessBuilder and Runtime.exec

Roger Riggs roger.riggs at oracle.com
Thu Jan 20 18:05:13 UTC 2022


A JEP to Improve safety of process launch by ProcessBuilder and 
Runtime.exec on Windows[1].

Argument encoding errors have been problematic on Windows systems due to
improperly quoted command arguments.

The idea is to tighten up quoting and encoding of command line arguments.

Comments appreciated,  Roger

[1] https://bugs.openjdk.java.net/browse/JDK-8263697


More information about the core-libs-dev mailing list