Deno.execPath
Возвращает путь к текущему исполняемому файлу deno.
console.log(Deno.execPath()); // e.g. "/home/alice/.local/bin/deno"
Требует разрешения allow-read.
function execPath(): string;
execPath(): stringТип возвращаемого значения
string
© 2018–2022 the Deno authors
https://doc.deno.land/deno/stable/~/Deno.execPath