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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --detach option for the up command to launch processes in the background #169

Open
jgoux opened this issue Mar 27, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@jgoux
Copy link

jgoux commented Mar 27, 2024

Hello 馃憢,

Feature Request

I'd like to be able to launch process-compose up in the background, without any logs being printed to the current terminal.

Use Case:

I'm interested in this feature in the context of CI. I'm using devenv to bootstrap my infrastructure, and devenv now relies on process-compose to handle multiple services (for example PostgreSQL).

I read that sending processes in the background was doable since v1.0.0 but it needs to be done within the terminal UI. In my case I don't want to interact with the terminal UI at all.

Proposed Change:

Add a --detach / -d option to process-compose up to send it to the background.

It would be similar to docker-compose up --detach: https://docs.docker.com/reference/cli/docker/compose/up/

Who Benefits From The Change(s)?

I guess everyone who launches process-compose in a non-interactive environment?

Alternative Approaches

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

No branches or pull requests

2 participants