When a parent NodeJS process exits, causing child processes to exit, how is that communicated?

后端 未结 0 1125
野的像风
野的像风 2021-01-01 03:31

index.js

const childProcess = require("child_process");

childProcess.spawn("python", ["main.py"]);

main.py

相关标签:
回答
  • 消灭零回复
提交回复
热议问题