protected SimpleProgramCommandLine getFileCommandLine()

in powershell-agent/src/main/java/jetbrains/buildServer/powershell/agent/service/PowerShellServiceWindows.java [54:63]


  protected SimpleProgramCommandLine getFileCommandLine(@NotNull final PowerShellInfo info,
                                                        @NotNull final Map<String, String> env,
                                                        @NotNull final String workDir,
                                                        @NotNull final List<String> args) {
    final BuildProgressLogger buildLogger = getBuild().getBuildLogger();
    final String command = myCommands.getNativeCommand(info, getRunnerContext());
    buildLogger.message("Command: " + command);
    buildLogger.message("PowerShell arguments: " + StringUtil.join(args, ", "));
    return new SimpleProgramCommandLine(env, workDir, command, args);
  }