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

Add 'process' module with 'exit' function #541

Merged
merged 5 commits into from
Aug 26, 2024
Merged

Conversation

jiribenes
Copy link
Contributor

Added a quick way to exit the running process by calling exit(exitCode: Int).
I don't know what should the module name here should be:

  • process
  • io/process
  • sys
  • os
  • exit

Should the capture be just io, or should there also be some other exit resource so that we know nothing weird happens inside of promises?

@jiribenes jiribenes added feature New feature or request area:stdlib labels Aug 16, 2024
@jiribenes jiribenes requested a review from b-studios August 23, 2024 14:27
@jiribenes jiribenes merged commit 8905a16 into master Aug 26, 2024
2 checks passed
@jiribenes jiribenes deleted the feature/process-exit branch August 26, 2024 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:stdlib feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants