F1bonacc1 / process-compose

Process Compose is a simple and flexible scheduler and orchestrator to manage non-containerized applications.
https://f1bonacc1.github.io/process-compose/
Apache License 2.0
1.34k stars 52 forks source link

Select first enabled process, not first existing #238

Closed stijnveenman closed 2 months ago

stijnveenman commented 3 months ago

Defect

Version of process-compose:

tested on v1.24.0

OS environment:

MacOS (Nix)

Steps or code to reproduce the issue:

Expected result:

I would expect that if a single process is started, that process is selected and the logs of it are shown. Or if multiple are started the first enabled process is selected

Actual result:

The first existing process is selected, even if disabled. (verified by showing all processes, it's the top one that's selected)