externalStartupRunInCurrentProcess method
Future<String>
externalStartupRunInCurrentProcess({
- required String commandLine,
- PrivExternalStartupOptions? options,
override
Runs commandLine through /system/bin/sh in this app's own process.
Implementation
@override
Future<String> externalStartupRunInCurrentProcess({
required String commandLine,
PrivExternalStartupOptions? options,
}) async =>
await methodChannel.invokeMethod<String>(
'externalStartupRunInCurrentProcess',
<String, Object?>{
'commandLine': commandLine,
'options': options?.toMap(),
},
) ??
'';