Interface: ShellOptions


CloudControl Pro 9 Docs / shell / ShellOptions

Interface: ShellOptions

shell.ShellOptions

Shell options. Used to specify options when creating a new Shell or RootAutomator. See createShell and setDefaultShellOptions.

Table of contents

Properties

Properties

adb

Optional adb: boolean

Whether to use adb shell (currently implemented as Shizuku).


cmd

Optional cmd: string

Commands to start processes, such as su are used to start the root process. When this option is specified, the root option will be overridden.


env

Optional env: any

Environment variables, e.g. {PATH: "/data/local/tmp"}.


root

Optional root: boolean

Whether to use root permission.