{
command += cmds.ALLCOL;
}
- command += cmds.TRIM + " -o" + inputTemp.getAbsolutePath() + cmds.SPACE
+ boolean trim = true;
+ String bool = Cache.getProperty("TRIM_TERMINI");
+ if ("false".equals(bool))
+ {
+ trim = false;
+ }
+ if (trim)
+ {
+ command += cmds.TRIM;
+ }
+ command += " -o" + inputTemp.getAbsolutePath() + cmds.SPACE
+ hmmTemp.getAbsolutePath() + cmds.SPACE
+ outTemp.getAbsolutePath();
cmds.runCommand(command);
public void runCommand(String command)
throws IOException, InterruptedException
{
+ try
+ {
final Process p = Runtime.getRuntime().exec(command);
new Thread(new Runnable()
}).start();
p.waitFor();
+ } catch (Exception e)
+ {
+ e.printStackTrace();
+ }
}
/**