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 committed Sep 12, 2024
1 parent ca7ce99 commit 5c5699c
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 5c5699c

Please sign in to comment.