capacitor-plugin-shell-exec
v1.3.0
Published
Capacitor Plugin to Execute Commands in Android Operating System Shells
Downloads
13
Readme
capacitor-plugin-shell-exec
Capacitor Plugin to Execute Commands in Android Operating System Shells
Install
npm install capacitor-plugin-shell-exec
npx cap sync
API
execute(...)
execute(options: { command: string | string[]; }) => Promise<{ output: string; exitCode: number; }>
| Param | Type |
| ------------- | --------------------------------------------- |
| options
| { command: string | string[]; } |
Returns: Promise<{ output: string; exitCode: number; }>