*/
public static int startAndWaitAkteraProcess(String cmd, String args, String dir) throws IOException
{
Process proc = startAkteraProcess(cmd, args, dir);
new NullStreamHandler(proc.getInputStream());
new NullStreamHandler(proc.getErrorStream());
return waitForProcess(proc);
}