spawnDetached method
Spawns a process by invoking executable with arguments.
This is _identical to io.Process.start (no forwarding of I/O).
Returns a future that completes with a handle to the spawned process.
Implementation
Future<io.Process> spawnDetached(
String executable,
Iterable<String> arguments, {
String? workingDirectory,
Map<String, String>? environment,
bool includeParentEnvironment = true,
bool runInShell = false,
io.ProcessStartMode mode = io.ProcessStartMode.normal,
}) async =>
io.Process.start(
executable,
arguments.toList(),
workingDirectory: workingDirectory,
environment: environment,
includeParentEnvironment: includeParentEnvironment,
runInShell: runInShell,
mode: mode,
);