<commit_before># ShellExecutor

### Utility that supports executing shell scripts from Java.

It provides a clean interface, QoL features and solves several issues such as:
- handling of both output streams (stdout and stderr)
- handling quote characters in commands
- providing commands as whole Strings instead of indefinite number of arguments

### API

#### public static List<String> execute(String cmd)
Starts 'cmd' command and waits for it to finish. Returns List of output lines (both stdout and stderr).

#### public static void call(String cmd)
Starts 'cmd' command.

#### public static void executeWithPrint(String cmd)
Starts 'cmd' command and waits for it to finish. After finished prints lines to stdout.

#### public static boolean executeWithAssert(String cmd, String[] ok, String[] nok)
Starts 'cmd' command and waits for it to finish. Asserts successful execution based output and 'ok', 'nok' keywords provided. Throws IllegalStateException if no keyword is found.<commit_msg>Update README to point to javadoc<commit_after># ShellExecutor

### Utility that supports executing shell scripts from Java.

It provides a clean interface, QoL features and solves several issues such as:
- handling of both output streams (stdout and stderr)
- handling quote characters in commands
- providing commands as whole Strings instead of indefinite number of arguments

API available at https://thisismydesign.github.io/shell-executor/javadoc/
{'fraction_non_alphanumeric': 0.06703524533517623, 'fraction_numerical': 0.0, 'mean_word_length': 5.135593220338983, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 1, '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': '7162163', 'n_tokens_mistral': 364, 'n_tokens_neox': 343, 'n_words': 189}