String resolvedExecutable

Returns 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.

Source

static String get resolvedExecutable => _Platform.resolvedExecutable;