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

FR: add --detach flag #20

Open
szab100 opened this issue Aug 4, 2023 · 0 comments
Open

FR: add --detach flag #20

szab100 opened this issue Aug 4, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@szab100
Copy link

szab100 commented Aug 4, 2023

I like this plugin, but would be nice to have a --detach / -d flag that would detach / go background once the (initial) port-forward channel has been established. My current workaround is launching it with &, followed by a sleep 5 before I let my script continue with commands trying to connect to the service to avoid connection refused..

In general, this is OK, while usually the connection becomes ready much before the 5s wait.. But sometimes, when the system is slow, it can take longer, so it would be great to get this feature instead & let it go to background once it's ready (with some configurable timeout).

@knight42 knight42 added the enhancement New feature or request label Jul 11, 2024
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