Skip to content

Commit

Permalink
Add /d to describeCommandCwd
Browse files Browse the repository at this point in the history
If the concrete output-base this command changes to is on a different drive (under windows), the `cd` does not work as expected.
According to the [docs](https://docs.microsoft.com/de-de/windows-server/administration/windows-commands/cd#parameters) adding this should actually result in the intended behaviour in all cases.
  • Loading branch information
FaBrand authored May 20, 2021
1 parent 0643786 commit 382fd64
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public void describeCommandEndIsolate(StringBuilder message) {

@Override
public void describeCommandCwd(String cwd, StringBuilder message) {
message.append("cd ").append(cwd).append("\n");
message.append("cd ").append("/d ").append(cwd).append("\n");
}

@Override
Expand Down

0 comments on commit 382fd64

Please sign in to comment.