You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is still an issue with the latest version of deno:
➜ ~ bash -c 'exec -a customArgv0 node'
Welcome to Node.js v21.5.0.
Type ".help" for more information.
> process.argv0
'customArgv0'
> .exit
➜ ~ bash -c 'exec -a customArgv0 deno'
Deno 1.40.5
exit using ctrl+d, ctrl+c, or close()
REPL is running with all permissions allowed.
To specify permissions, run `deno repl` with allow flags.
> import process from "node:process"
undefined
> process.argv0
"deno"
>
The result when explicitly specifying the process name is different from Node.js.
I did a test with a canary release.
Node
Deno
related issue: #20924
related PR: #20925
The text was updated successfully, but these errors were encountered: