execPath method

String execPath()

Returns the path to the current deno executable.

console.log(Deno.execPath());  // e.g. "/home/alice/.local/bin/deno"

Requires allow-read permission.

Implementation

_i2.String execPath() => _i3.callMethod(
      this,
      'execPath',
      [],
    );