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

[CLI] Automatically attach CLIs if corresponding Runtime process is active #239

Open
levincent06 opened this issue Sep 23, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request good-first-issue Good issues for incoming members

Comments

@levincent06
Copy link
Member

For all the CLIs, they spawn an instance of Runtime if not using the attach argument. It's disastrous if we accidently run CLIs without attach when Runtime is already running. For each CLI (and shm_ui), if Runtime is already running we should print a warning and perform the same behavior as if the attach argument had been set.

This may be one way to do it: https://www.unix.com/programming/146092-how-do-i-check-if-process-running-c.html

@levincent06 levincent06 added enhancement New feature or request good-first-issue Good issues for incoming members labels Sep 23, 2021
@edtruong8 edtruong8 self-assigned this Feb 3, 2022
@jspabla jspabla removed their assignment Feb 3, 2022
@edtruong8 edtruong8 removed their assignment Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good-first-issue Good issues for incoming members
Projects
None yet
Development

No branches or pull requests

4 participants