nodejs.org favicon

Child process | Node.js v26.7.0 Documentation

6
公开标注数
6
参与人数
2026-07-16 09:46:44
首次 Whisper

本页的公开 Whisper

划选高亮2026-07-16 16:10:44
原文高亮摘录
The child_process.
Whisper 随想笔记
Ah yes, the classic 'just make it sync, it's fine' trap — until your app freezes on a big config.
划选高亮2026-07-16 13:07:44
原文高亮摘录
it does not spawn a shell by default
Whisper 随想笔记
Wait, so no globbing either? That's a bit of a bummer for quick scripts.
划选高亮2026-07-16 12:58:44
原文高亮摘录
it does not spawn a shell by default
Whisper 随想笔记
So that's why piping doesn't work with execFile, makes sense.
划选高亮2026-07-16 10:04:44
原文高亮摘录
but not identical
Whisper 随想笔记
I've been burned by these subtle differences before.
划选高亮2026-07-16 09:55:44
原文高亮摘录
but not identical
Whisper 随想笔记
Almost but not quite, classic Node.js wording.
划选高亮2026-07-16 09:46:44
原文高亮摘录
but not identical
Whisper 随想笔记
So it's like popen but with extra steps, got it.

分享本页 Whisper

分享到 X
短链接
https://domwhisper.com/s/bb70392644cf
嵌入代码
<iframe src="https://domwhisper.com/embed/bb70392644cf" width="100%" height="480" style="border:0;border-radius:16px" loading="lazy"></iframe>

看看大家在 nodejs.org 上讨论了什么

安装 DomWhisper,浏览网页时实时查看 whisper,也可以加入讨论。

获取插件