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

Distinguish between stopped processes and processes that don't exist #198

Closed
zmitchell opened this issue Jul 11, 2024 · 1 comment
Closed
Labels
done Done, awaiting release enhancement New feature or request

Comments

@zmitchell
Copy link

Feature Request

Show a different error message when attempting to stop a process that is no longer running vs. attempting to stop a process that never existed in the config.

Use Case:

One of these indicates a user error (perhaps you made a typo entering the process name), and one of these indicates that a process may have terminated earlier than you expected. These are two different cases and a user may want to take different actions based on which error they encounter.

Proposed Change:

There's already an internal record of which processes exist because completed processes are shown in process-compose process list. You can use this record to disambiguate between these two cases.

Who Benefits From The Change(s)?

Everyone

Alternative Approaches

@F1bonacc1
Copy link
Owner

Added in v1.18.0

Cheers ✌🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done Done, awaiting release enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants