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

Feature Request: Eio.Process.of_pid to "attach" the process_mgr to an existing process #525

Open
smondet opened this issue May 24, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@smondet
Copy link
Contributor

smondet commented May 24, 2023

No description provided.

@avsm
Copy link
Contributor

avsm commented May 25, 2023

What's your usecase for this? Exposing a pid lookup is inherently a racy operation (since the target process might have been recycled by the time you get there), so need to be careful from a security perspective.

@avsm avsm added the enhancement New feature or request label May 30, 2023
@smondet
Copy link
Contributor Author

smondet commented May 31, 2023

My use-case is not super precise but the idea is to be able to signal/kill/monitor/await a process that already exists (for instance using a “pid-file” written by the process itself).

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