start method

Future<Process> start(
  1. String executable,
  2. List<String> arguments, {
  3. String? workingDirectory,
  4. Map<String, String>? environment,
  5. bool includeParentEnvironment = true,
  6. ProcessStartMode mode = ProcessStartMode.normal,
})

Starts a process in the background.

Takes an executable and an argument list. Does NOT run in a shell.

Implementation

Future<Process> start(
  String executable,
  List<String> arguments, {
  String? workingDirectory,
  Map<String, String>? environment,
  bool includeParentEnvironment = true,
  ProcessStartMode mode = ProcessStartMode.normal,
}) {
  return Process.start(
    executable,
    arguments,
    workingDirectory: workingDirectory,
    environment: environment,
    includeParentEnvironment: includeParentEnvironment,
    runInShell: false,
    mode: mode,
  );
}