SecureKeyRunner typedef

SecureKeyRunner = Future<SecureKeyRunResult> Function(String executable, List<String> arguments, {Map<String, String>? environment, String? stdin})

Runs one helper process for a SecureKeyStore backend, optionally piping stdin and extending the child environment. Injectable so tests never spawn real processes.

Implementation

typedef SecureKeyRunner =
    Future<SecureKeyRunResult> Function(
      String executable,
      List<String> arguments, {
      String? stdin,
      Map<String, String>? environment,
    });