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:
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user