Skip to content

runAdbBinary

Runs adb -s <deviceId> <commandArguments> and returns stdout undecoded.

Import:

import { runAdbBinary } from 'obsidian-integration-testing';

Signature:

function runAdbBinary(params: RunAdbParams): Promise<Uint8Array<ArrayBufferLike>>

Parameters:

ParameterTypeDescription
paramsRunAdbParamsThe device and the arguments to run.

Returns: Promise<Uint8Array<ArrayBufferLike>> — A Promise that resolves to the raw stdout bytes.


Links to this page: