Content:
- Methods

Creates a shell SystemProcess (ie. “sh”, “su” if root or “busybox” if installed) which can be reused throughout the program.

sys = app.CreateSysProc( cmd, env, dir, options ) → app object: SysProc

If env or dir are not provided HOME and TMDDIR are set by the component.

Example - Basic click to expand contents 

Example - Colored click to expand contents 

Methods

The following methods are available on the SysProc object:

GetType() → String: “SysProc”
Method( name, types, p1, p2, p3, p4 ) → all types
ReadFileAsByte( file ) → Number: bytes