/** The installed Deno executable, even when an update has replaced the running binary. */ export function denoExecutable(): string { const path = Deno.execPath(); return Deno.build.os === "linux" ? path.replace(/ \(deleted\)$/, "") : path; }