<commit_before>#!/usr/bin/python
import subprocess as SP
import os

agent_jar = os.path.join(os.path.dirname(__file__), 'Profiler', 'target', 'Profiler-1.0-SNAPSHOT.jar')
target_jar = os.path.join(os.path.dirname(__file__), 'Example', 'target', 'Example-1.0-SNAPSHOT.jar')
command = ['java', '-javaagent:' + agent_jar, '-jar', target_jar]

print ' '.join(command)
print
SP.call(command)

if os.name == "nt":
	print "Push ENTER to close."
	raw_input()<commit_msg>Added parameter to terminate immediatly<commit_after>#!/usr/bin/python
import subprocess as SP
import os
import sys

agent_jar = os.path.join(os.path.dirname(__file__), 'Profiler', 'target', 'Profiler-1.0-SNAPSHOT.jar')
target_jar = os.path.join(os.path.dirname(__file__), 'Example', 'target', 'Example-1.0-SNAPSHOT.jar')
command = ['java', '-javaagent:' + agent_jar, '-jar', target_jar]

print ' '.join(command)
print
SP.call(command)

if len(sys.argv) > 1:
	if sys.argv[1] == "True":
		sys.exit(0)
if os.name == "nt":
	print "Push ENTER to close."
	raw_input()
{'fraction_non_alphanumeric': 0.185546875, 'fraction_numerical': 0.0107421875, 'mean_word_length': 5.25, 'pattern_counts': {'":': 3, '<': 3, '<?xml version=': 0, '>': 4, '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': '1590897', 'n_tokens_mistral': 393, 'n_tokens_neox': 395, 'n_words': 84}