我不确定这是一个bug还是一个特性,但是当杀死一个外壳(使用kill -9 <pid>)时,它不会退出进程,因为它会调用exit事件,但所有代码都会继续运行。以下是我的代码 // index.js shell: true,
console.log(deploy.pid); // I use this to get the PID so i can use the kill command
Numpy不知何故停止了工作。我认为这可能是因为我更改了$PATH环境变量,但这并不是很有意义。我确实在一行中运行了source,然后是source .bashr,然后是source .bashrc,然后是source ~/.bashrc,所以这可能与它有关。仍然返回合理的东西>>>import numpy as np
File "<stdin>", line 1, in <mod