resolvedExecutable property
The path of the executable used to run the script in this isolate after it has been resolved by the OS.
This is the absolute path, with all symlinks resolved, to the executable used to run the script.
Implementation
static String get resolvedExecutable => _Platform.resolvedExecutable;