MCPcopy Index your code
hub / github.com/NativeScript/SimDeck / run_command_text

Function run_command_text

packages/server/src/android.rs:1443–1447  ·  view source on GitHub ↗
(program: PathBuf, args: [&str; N])

Source from the content-addressed store, hash-verified

1441}
1442
1443fn run_command_text<const N: usize>(program: PathBuf, args: [&str; N]) -> Result<String, AppError> {
1444 let output = run_command(program, args)?;
1445 String::from_utf8(output)
1446 .map_err(|error| AppError::native(format!("Command returned non-UTF8 output: {error}")))
1447}
1448
1449fn run_command_text_with_stdin<const N: usize>(
1450 program: PathBuf,

Callers 4

run_adbMethod · 0.85
run_emulatorMethod · 0.85
run_avdmanagerMethod · 0.85
run_sdkmanagerMethod · 0.85

Calls 1

run_commandFunction · 0.85

Tested by

no test coverage detected