run function

Future<void> run(
  1. String cmd,
  2. List<String> args
)

Runs a cmd with args and returns when the process completes.

Uses runInteractive to ensure real-time feedback and interactivity.

Implementation

Future<void> run(String cmd, List<String> args) async {
  await runInteractive(cmd, args);
}