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
## Summary
Three child_process Node.js compatibility fixes:
### 1. Emit `internalMessage` event for `NODE_` prefixed IPC messages
In Node.js, IPC messages with a `cmd` property starting with `NODE_` are
internal messages emitted as `"internalMessage"` instead of `"message"`.
Deno was silently dropping these messages.
### 2. Support `argv0` option in `spawn`/`spawnSync`
Pass `argv0` through a new internal `kArgv0` symbol down to the Rust op,
which uses `std::os::unix::process::CommandExt::arg0()` to set `argv[0]`
at the OS level via `execve`. This matches how Node.js handles it
through libuv.
### 3. Emit DEP0190 warning for shell spawn with args
Emit a `DeprecationWarning` (DEP0190) when `child_process.spawn()` is
called with both args and `shell: true`, matching Node.js behavior.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments