import { notImplemented } from "./_utils.ts";
function on(_event: string, _callback: Function): void { notImplemented();}
export const process = { version: `v${Deno.version.deno}`, versions: { node: Deno.version.deno, ...Deno.version, }, platform: Deno.build.os === "windows" ? "win32" : Deno.build.os, arch: Deno.build.arch, pid: Deno.pid, cwd: Deno.cwd, chdir: Deno.chdir, exit: Deno.exit, on, get env(): { [index: string]: string } { return Deno.env.toObject(); }, get argv(): string[] { return [Deno.execPath(), ...Deno.args]; },};
Object.defineProperty(process, Symbol.toStringTag, { enumerable: false, writable: true, configurable: false, value: "process",});
Object.defineProperty(globalThis, "process", { value: process, enumerable: false, writable: true, configurable: true,});