<commit_before>package com.saptarshidebnath.processrunner.lib.process;

import com.saptarshidebnath.processrunner.lib.exception.ProcessConfigurationException;

import java.io.File;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;

import static com.saptarshidebnath.processrunner.lib.utilities.Constants.NEW_LINE;

/**
 * The {@link ProcessConfiguration} object create a configuration to be consumed by the {@link
 * ProcessRunner} object
 */
public class ProcessConfiguration {
  private final String commandRunnerInterPreter;
  private final String command;
  private final File currentDirectory;
  private final File logDump;

  private final boolean autoDeleteFileOnExit;
  private final Logger logger;

  {
    this.logger = Logger.getLogger(this.getClass().getCanonicalName());
  }

  /**
   * Most detailed constructor to set the {@link ProcessConfiguration}.
   *
   * @param commandRunnerInterPreter : sets the {@link String} command interpreter like /bin/bash in
   *     unix
   * @param command : set the actual {@link String} command to be executed<commit_msg>Corrected the PorcessCOnfiguration initilaizer block<commit_after>package com.saptarshidebnath.processrunner.lib.process;

import com.saptarshidebnath.processrunner.lib.exception.ProcessConfigurationException;

import java.io.File;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;

import static com.saptarshidebnath.processrunner.lib.utilities.Constants.NEW_LINE;

/**
 * The {@link ProcessConfiguration} object create a configuration to be consumed by the {@link
 * ProcessRunner} object
 */
public class ProcessConfiguration {
  private final String commandRunnerInterPreter;
  private final String command;
  private final File currentDirectory;
  private final File logDump;

  private final boolean autoDeleteFileOnExit;
  private final Logger logger = Logger.getLogger(this.getClass().getCanonicalName());

  /**
   * Most detailed constructor to set the {@link ProcessConfiguration}.
   *
   * @param commandRunnerInterPreter : sets the {@link String} command interpreter like /bin/bash in
   *     unix
   * @param command : set the actual {@link String} command to be executed
{'fraction_non_alphanumeric': 0.08099688473520249, 'fraction_numerical': 0.0, 'mean_word_length': 5.010695187165775, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6820527', 'n_tokens_mistral': 609, 'n_tokens_neox': 594, 'n_words': 182}