JDK14 Runtime.getRuntime().exec() in Windows

JDK14 Runtime.getRuntime().exec() in Windows
If Runtime.getRuntime().exec() 's env parameter is null,
the new process will use its parent shell's env.
If env is not null, the new process will only use the env of the input, and lost all its parent shell environment, e.g. %classpath%

你可能感兴趣的:(JDK14 Runtime.getRuntime().exec() in Windows)