<commit_before>// Any copyright is dedicated to the Public Domain.
// http://creativecommons.org/publicdomain/zero/1.0/

import path from 'path';

import * as BuildUtils from './utils';

export default async function(args = []) {
  const manifest = BuildUtils.getManifest();
  const command = BuildUtils.getElectronPath();
  const script = path.join(__dirname, '..', manifest.main);

  console.log(`Executing command: ${command}`);

  await BuildUtils.spawn(command, [script, '--enable-logging', ...args], {
    stdio: 'inherit',
  });
}
<commit_msg>Don't pipe browser console logging to stdout in the run task<commit_after>// Any copyright is dedicated to the Public Domain.
// http://creativecommons.org/publicdomain/zero/1.0/

import path from 'path';

import * as BuildUtils from './utils';

export default async function(args = []) {
  const manifest = BuildUtils.getManifest();
  const command = BuildUtils.getElectronPath();
  const script = path.join(__dirname, '..', manifest.main);

  console.log(`Executing command: ${command}`);

  await BuildUtils.spawn(command, [script, ...args], {
    stdio: 'inherit',
  });
}

{'fraction_non_alphanumeric': 0.15350488021295475, 'fraction_numerical': 0.00354924578527063, 'mean_word_length': 4.1981566820276495, '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': '7613114', 'n_tokens_mistral': 340, 'n_tokens_neox': 334, 'n_words': 95}