Skip to content

Commit

Permalink
Substitute variables in working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ewaterlander authored and jonahgraham committed Sep 12, 2024
1 parent 3319496 commit 36abcce
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ public void launch(ILaunchConfiguration configuration, String mode, ILaunch laun
String workingDirectory = configuration
.getAttribute(ICDTLaunchConfigurationConstants.ATTR_WORKING_DIRECTORY, ""); //$NON-NLS-1$
if (!workingDirectory.isBlank()) {
workingDirectory = VariablesPlugin.getDefault().getStringVariableManager()
.performStringSubstitution(workingDirectory);
builder.directory(new File(workingDirectory));
}

Expand Down

0 comments on commit 36abcce

Please sign in to comment.