<commit_before>package org.terasology.logic.console.commands;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

import org.terasology.entitySystem.systems.BaseComponentSystem;
import org.terasology.entitySystem.systems.RegisterSystem;
import org.terasology.logic.console.commandSystem.annotations.Command;
import org.terasology.logic.console.commandSystem.annotations.CommandParam;

@RegisterSystem
public class JeditCommand  extends BaseComponentSystem {
	 @Command( shortDescription = "Open jedit", helpText = "Open jedit in the class of the selected structure" )
     public String jedit(@CommandParam("Class") String className) {
		 String baseFolder = "~/Escritorio/Terasology/CodeCity/";
		 try{
		        String cmd = "jedit "+baseFolder+className;
		        Process p=Runtime.getRuntime().exec(cmd);
		        p.waitFor();
		        return "Work";
		        
		 }
		 catch(IOException e1) {
			 return e1.toString();
		 }
		 catch(InterruptedException e2) {
			 return e2.toString();
		 }
	 }
}<commit_msg><NAME>: Modificado el comando jedit para que no se quede esperando el cierre del programa<commit_after>package org.terasology.logic.console.commands;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

import org.terasology.entitySystem.systems.BaseComponentSystem;
import org.terasology.entitySystem.systems.RegisterSystem;
import org.terasology.logic.console.commandSystem.annotations.Command;
import org.terasology.logic.console.commandSystem.annotations.CommandParam;

@RegisterSystem
public class JeditCommand  extends BaseComponentSystem {
	 @Command( shortDescription = "Open jedit", helpText = "Open jedit in the class of the selected structure" )
     public String jedit(@CommandParam("Class") String className) {
		 String baseFolder = "~/Escritorio/Terasology/CodeCity/";
		 try{
		        String cmd = "jedit "+baseFolder+className;
		        Process p=Runtime.getRuntime().exec(cmd);
		        return "Work";
		        
		 }
		 catch(IOException e1) {
			 return e1.toString();
		 }
	 }
}
{'fraction_non_alphanumeric': 0.10123574144486693, 'fraction_numerical': 0.0028517110266159697, 'mean_word_length': 4.2625, 'pattern_counts': {'":': 0, '<': 4, '<?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': '19416', 'n_tokens_mistral': 646, 'n_tokens_neox': 580, 'n_words': 133}