startProcess method
Implementation
Future<io.Process> startProcess(
List<String> args, {
String? workingDirectory,
io.ProcessStartMode mode = io.ProcessStartMode.normal,
Map<String, String>? environment,
bool includeParentEnvironment = true,
}) async {
checkExistsSync();
if (null != workingDirectory) {
checkDirectoryExists(workingDirectory, "workingDirectory");
}
final process = await io.Process.start(
executable,
args,
runInShell: true,
workingDirectory: workingDirectory,
mode: mode,
environment: environment,
includeParentEnvironment: includeParentEnvironment,
);
return process;
}