SysLib system library

SysLib provides a set of EGL system functions that are generally useful.

Package

eglx.lang

Functions
Table 1. Functions
Function Purpose
SysLib.callCmd function SysLib.callCmd runs a system command synchronously.

SysLib.commit function SysLib.commit saves updates to recoverable resources such as databases.

SysLib.getProperty function SysLib.getProperty returns the value of a Java runtime setting.

SysLib.rollback function SysLib.rollback reverses updates that were made to recoverable resources since the last commit.

SysLib.setLocale function SysLib.setLocale sets the Java locale for the run unit.

SysLib.startCmd function SysLib.startCmd runs a system command asynchronously.

SysLib.wait function SysLib.wait suspends the current process for a specified number of seconds.

SysLib.writeStdError function SysLib.writeStdErr writes a string to the standard error destination.

SysLib.writeStdOut function SysLib.writeStdOut writes a string to the standard output destination.

Comments
SysLib is implemented as an EGL external type, stereotype NativeType, and not as an EGL library.
Compatibility

Table 2. Compatibility
Target Issue
Java See the function-specific topics.
JavaScript See the function-specific topics.