runProgramBackground static method

Future<Process?> runProgramBackground(
  1. String command
)

Implementation

static Future<Process?> runProgramBackground(String command) async {
  try {
    final process = await Process.start(_platformShell(), _shellArgs(command));
    return process;
  } catch (e) {
    stderr.writeln('runProgramBackground error: $e');
    return null;
  }
}