From 4519f9a50db8852c5b70ff47481f0fc9d0fbe2f2 Mon Sep 17 00:00:00 2001 From: "Kevin (Kun) \"Kassimo\" Qian" Date: Tue, 6 Aug 2019 14:05:47 -0700 Subject: Make Deno.execPath a function (#2743) And throws without allow-env --- cli/msg.fbs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'cli/msg.fbs') diff --git a/cli/msg.fbs b/cli/msg.fbs index 438fa0cb9..8fb92fee9 100644 --- a/cli/msg.fbs +++ b/cli/msg.fbs @@ -77,6 +77,8 @@ union Any { Truncate, HomeDir, HomeDirRes, + ExecPath, + ExecPathRes, Utime, WorkerGetMessage, WorkerGetMessageRes, @@ -181,7 +183,6 @@ table StartRes { cwd: string; pid: uint32; argv: [string]; - exec_path: string; main_module: string; // Absolute URL. debug_flag: bool; deps_flag: bool; @@ -468,6 +469,12 @@ table HomeDirRes { path: string; } +table ExecPath {} + +table ExecPathRes { + path: string; +} + table Utime { filename: string; atime: uint64; -- cgit v1.2.3