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

Implement sys.get_pid function #240

Closed
hulto opened this issue Jul 17, 2023 · 0 comments · Fixed by #272
Closed

Implement sys.get_pid function #240

hulto opened this issue Jul 17, 2023 · 0 comments · Fixed by #272
Labels
eldritch Related to the Eldritch language feature New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@hulto
Copy link
Collaborator

hulto commented Jul 17, 2023

Is your feature request related to a problem? Please describe.
The current workflow for getting the PID of our current process is to list all process and search for our processes name (assuming we know that). To help streamline this workflow a function to retrive the current process ID should be implemented.

Describe the solution you'd like

  • When called the function should a number that represent the current PID.
  • The rust std::Process crate could be useful

Describe alternatives you've considered
N/a

Additional context
N/a

@hulto hulto added feature New feature or request help wanted Extra attention is needed good first issue Good for newcomers eldritch Related to the Eldritch language labels Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
eldritch Related to the Eldritch language feature New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant