nodex
nodex copied to clipboard
Chore/kill process when self update
What
Support self-update. During the update, the launched process will kill any process other than itself, ensuring that only one process is running.
I want to add a test, but due to reasons such as memory limitations and containers crashing when killed, it's difficult to pass the test, so I cannot add this test.