可执行 属性
在此隔离器中运行脚本的可执行文件路径。通常为 Dart VM 上运行的 dart
或者编译后的脚本名称(script_name.exe
)。
用于标识可执行文件的 literally 路径。此路径可能是相对路径,也可能是一个经过系统路径搜索后找到的可执行文件名称。
使用 resolvedExecutable 获取可执行文件的绝对路径。
实现
static String get executable => _Platform.executable;
在此隔离器中运行脚本的可执行文件路径。通常为 Dart VM 上运行的 dart
或者编译后的脚本名称(script_name.exe
)。
用于标识可执行文件的 literally 路径。此路径可能是相对路径,也可能是一个经过系统路径搜索后找到的可执行文件名称。
使用 resolvedExecutable 获取可执行文件的绝对路径。
static String get executable => _Platform.executable;