run method

  1. @override
Future<PluginRunResult> run(
  1. PluginCommandConfig command,
  2. Device? device
)
override

Launches command for device, resolving argument templates.

Detached commands return once started. Inherit commands complete when the process exits and report its exit code.

Implementation

@override
Future<PluginRunResult> run(
  PluginCommandConfig command,
  Device? device,
) async {
  ran.add((command: command, device: device));
  return result;
}