mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Ensure env vars are consulted for PATH
This commit is contained in:
parent
281c650251
commit
be1263500d
@ -261,7 +261,7 @@ public class PropertiesLauncher extends Launcher {
|
||||
}
|
||||
|
||||
private void initializePaths() throws IOException {
|
||||
String path = System.getProperty(PATH);
|
||||
String path = SystemPropertyUtils.getProperty(PATH);
|
||||
if (path == null) {
|
||||
path = this.properties.getProperty(PATH);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user