List<String> (@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())); }