<commit_before>var child = require('child_process');
var java = child.spawn( 'java', ['test'],{stdio:[ 'pipe',null,null, 'pipe' ]});

java.stdout.on('data', function(data){
	//chunk += data;//it returns <Buffer 74 65 73 74 5f 70 79 74 68 6f 6e 0d 0a>
    console.log( data.toString());
} );

setInterval(function () {
	java.stdin.write("Hello\n");//must end by "\n"
},2000);<commit_msg>add sth<commit_after>var child = require('child_process');
var java = child.spawn( 'java', ['test','Hello','World'],{stdio:[ 'pipe',null,null, 'pipe' ]});

java.stdout.on('data', function(data){
	//chunk += data;//it returns <Buffer 74 65 73 74 5f 70 79 74 68 6f 6e 0d 0a>
    console.log("[java]"+data.toString());
} );

setInterval(function () {
	java.stdin.write("Hello\n");//must end by "\n"
},2000);
{'fraction_non_alphanumeric': 0.2240506329113924, 'fraction_numerical': 0.06329113924050633, 'mean_word_length': 4.859259259259259, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2737275', 'n_tokens_mistral': 336, 'n_tokens_neox': 284, 'n_words': 73}