Skip to content

Commit

Permalink
Quote Readapt path to handle folders containing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
PyvesB committed Sep 4, 2021
1 parent 6555cd8 commit eda17a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void launch(ILaunchConfiguration configuration, String mode, ILaunch laun
parameters.put("request", "launch");

DSPLaunchDelegateLaunchBuilder builder = new DSPLaunchDelegateLaunchBuilder(configuration, mode, launch, monitor);
builder.setLaunchDebugAdapter(READAPT_PATH.getValue(), Collections.singletonList("stdio"));
builder.setLaunchDebugAdapter("\"" + READAPT_PATH.getValue() + "\"", Collections.singletonList("stdio"));
builder.setDspParameters(parameters);
super.launch(builder);

Expand Down

0 comments on commit eda17a3

Please sign in to comment.