<commit_before>package main

import (
	"bytes"
	"os/exec"
)

//RunCommand executes a command against the host shell
func RunCommand(command string) (string, error) {
	cmd := exec.Command(command)
	var out bytes.Buffer
	cmd.Stdout = &out
	var errOut bytes.Buffer
	cmd.Stderr = &errOut
	err := cmd.Run()
	if err != nil {
		return errOut.String(), err
	}
	return out.String(), nil
}<commit_msg>modified os command of sctl-minion to work :)<commit_after>package main

import (
	"bytes"
	"os/exec"
	"strings"
)

//RunCommand executes a command against the host shell
func RunCommand(command string) (string, error) {
	parts := strings.Fields(command)
	command = parts[0]
	args := parts[1:len(parts)]
	cmd := exec.Command(command, args...)
	var out bytes.Buffer
	cmd.Stdout = &out
	var errOut bytes.Buffer
	cmd.Stderr = &errOut
	err := cmd.Run()
	if err != nil {
		return errOut.String(), err
	}
	return out.String(), nil
}
{'fraction_non_alphanumeric': 0.13304252998909488, 'fraction_numerical': 0.0021810250817884407, 'mean_word_length': 4.043956043956044, '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': '7281502', 'n_tokens_mistral': 323, 'n_tokens_neox': 317, 'n_words': 97}