String executable

Returns the path of the executable used to run the script in this isolate.

The path returned is the literal path used to run the script. This path might be relative or just be a name from which the executable was found by searching the PATH.

To get the absolute path to the resolved executable use resolvedExecutable.

Source

static String get executable => _Platform.executable;