1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

App_update: Add more implementation for standalone update app

This commit is contained in:
gnosygnu
2016-11-25 13:32:45 -05:00
parent e0ee9a952d
commit 720668ad63
8 changed files with 159 additions and 29 deletions

View File

@@ -22,4 +22,12 @@ public class Runtime_ {
public static long Memory_max() {return Runtime.getRuntime().maxMemory();}
public static long Memory_total() {return Runtime.getRuntime().totalMemory();}
public static long Memory_free() {return Runtime.getRuntime().freeMemory();}
public static void Exec(String v) {
try {
Runtime.getRuntime().exec(v);
} catch (Exception e) {
Gfo_usr_dlg_.Instance.Log_many("", "", "runtime exec failed; err=~{0}", Err_.Message_gplx_log(e));
}
}
}