@NotNull
  public static File createTempScript(@NotNull String commandLine, @NotNull String fileNamePrefix, boolean useBatchFile)
    throws IOException {
    return useBatchFile ? createBatchScript(fileNamePrefix, commandLine)
                        : createShellScript(fileNamePrefix, commandLine);
  }
@NotNull
  public static File createTempScript(@NotNull String commandLine, @NotNull String fileNamePrefix, boolean useBatchFile)