Skip to content

Commit

Permalink
CPP-22975: workaround: "Output from WSL1 command is randomly truncate…
Browse files Browse the repository at this point in the history
…d" (microsoft/WSL#4082)

GitOrigin-RevId: a90961d328ab5992196bed25c0361a7a2b53c8a2
  • Loading branch information
Vasily Romanikhin authored and intellij-monorepo-bot committed Apr 13, 2021
1 parent 577be37 commit 7230732
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ private void logCommandLineAfter(@NotNull GeneralCommandLine commandLine) {
return file != null ? file.toPath() : null;
}

private static @NotNull List<String> buildLinuxCommand(@NotNull GeneralCommandLine commandLine, boolean executeCommandInShell) {
public static @NotNull List<String> buildLinuxCommand(@NotNull GeneralCommandLine commandLine, boolean executeCommandInShell) {
List<String> command = ContainerUtil.concat(List.of(commandLine.getExePath()), commandLine.getParametersList().getList());
return new ArrayList<>(ContainerUtil.map(command, executeCommandInShell ? CommandLineUtil::posixQuote : Functions.identity()));
}
Expand Down

0 comments on commit 7230732

Please sign in to comment.