W3cubDocs

/Dart 2

executable property

String executable

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

The literal path used to identify the script. This path might be relative or just be a name from which the executable was found by searching the system path.

Use resolvedExecutable to get an absolute path to the executable.

Implementation

static String get executable => _Platform.executable;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-io/Platform/executable.html