Skip to content

Commit cc42574

Browse files
author
qufei
committed
进程相关面试题
1 parent b05232f commit cc42574

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/nodejs/process-threads.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ I am worker, PID: 42474
720720
```js
721721
const spawn = require('child_process').spawn;
722722
const child = spawn('echo', ["简单的命令行交互"]);
723-
child.stdout.pipe(process.stdout);
723+
child.stdout.pipe(process.stdout); // 将子进程的输出做为当前进程的输入,打印在控制台
724724
```
725725

726726
```

0 commit comments

Comments
 (0)