create static method
Create a new STDIO transport by spawning a process
Implementation
static Future<StdioClientTransport> create({
required String command,
List<String> arguments = const [],
String? workingDirectory,
Map<String, String>? environment,
}) async {
_logger.debug('Starting process: $command ${arguments.join(' ')}');
final process = await Process.start(
command,
arguments,
workingDirectory: workingDirectory,
environment: environment,
);
return StdioClientTransport._internal(process);
}