summaryrefslogtreecommitdiff
path: root/js/main.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-01-06 14:16:42 -0500
committerGitHub <noreply@github.com>2019-01-06 14:16:42 -0500
commit57301909cd9eee6aeaafeda19aab372e034ff7c4 (patch)
tree60e7d9929fe5bd6f46dca5b38b1e70a790170e70 /js/main.ts
parent028d8e4d90d2224334b44ccb1836dc47d85a9526 (diff)
Add deno.pid (#1464)
Diffstat (limited to 'js/main.ts')
-rw-r--r--js/main.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/main.ts b/js/main.ts
index 818713593..9ecdefc93 100644
--- a/js/main.ts
+++ b/js/main.ts
@@ -54,6 +54,8 @@ export default function denoMain() {
os.exit(0);
}
+ os.setPid(startResMsg.pid());
+
const cwd = startResMsg.cwd();
log("cwd", cwd);