dartExecutablePath top-level property

String get dartExecutablePath

The dart executable inside getSdkPath - the real SDK binary, resolved through version-manager shims (puro/fvm/asdf). Spawn subprocesses with this rather than a PATH dart when they must receive signals: shell shims do not forward them.

Implementation

String get dartExecutablePath =>
    p.join(getSdkPath(), 'bin', Platform.isWindows ? 'dart.exe' : 'dart');