orke emulator exec

Run a raw adb shell command and return its output.

Command · options · role · examplesEnglish

When to use it

Run a raw adb shell command and return its output.

Syntax

Terminal
orke emulator exec --command <cmd> [--device <serial>] [--json]

Options

OptionRequiredValues and meaning
--commandRequiredCommand passed to adb shell as-is
text
--deviceOptionalDevice serial such as emulator-5554; attach also takes an AVD name. Defaults to this workspace's active device
text
--emulatorOptionalSame as --device (Orca's name); --device wins when both are given
text

Read common options and errors →

Role and constraints

session binding, or same-OS-user operator with --session or --device · Windows, macOS, Linux

  • A bound terminal acts only on its session workspace's devices. A terminal outside orke passes --session <id> or --device <serial>.
  • CLI only; the device window has no raw shell. Output is capped at 16 MiB.

Examples

Terminal
orke emulator exec --command "pm list packages" --json

Replace example IDs, slugs, revisions, and files with actual observations and inputs.

Response and partial results

Inspect replies and errors with --json. Acceptance is not work completion.

Related guidance

Commands in this group →

Search documentation

The page could not be displayed. Reload ×