Interface: ShellOptions
10/22/22Less than 1 minute
shell.ShellOptions
Options when spawning a Shell session or changing defaults via createShell / setDefaultShellOptions (also reused for root automator defaults).
Table of contents
Properties
Properties
adb
adb?:boolean
If true, run commands through ADB shell (in current builds this is wired to Shizuku-style ADB access when available).
cmd
cmd?:string
Executable used to launch the shell process, e.g. "su" for a root shell. When set, it overrides the plain root: true shortcut.
env
env?:NodeJS.ProcessEnv
Extra environment variables for the child process, e.g. { PATH: "/data/local/tmp" }.
root
root?:boolean
If true, request a root shell where the platform allows it.
