Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autorestart probably shouldn't restart a process if terminated intentionally #143

Open
robknight opened this issue Jul 1, 2024 · 1 comment

Comments

@robknight
Copy link

If a process is set to autorestart: true then it will restart when killed by mprocs, e.g. as a result of pressing 'x' or using the term-proc command.

I assume that the purpose of autorestart is to re-start processes if they crash, exit due to errors, or even due to user interaction in the terminal. However, I do not expect the process to restart if I have issued a command to terminate it from within mprocs. Is the current behaviour correct? If so, should there be a command which can terminate a process without auto-restarting?

@pvolok
Copy link
Owner

pvolok commented Jul 1, 2024

Yes, the process certainly should NOT autorestart if stopped manually. This is a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants