Tuesday, June 18, 2013

Process in Java

Process


String command = aAutoDeleteEnginePath + " " +aTerminal  + " " +aTimestamp;

Process proc = Runtime.getRuntime().exec(command);

int exitVal = proc.waitFor();

logger.info("Engine process exitVal: " + exitVal);

No comments:

Post a Comment