1.3.0 • Published 12 months ago
capacitor-plugin-shell-exec v1.3.0
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; }>