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

Ensure Julia terminates when launcher terminates on Windows #1028

Merged
merged 4 commits into from
Sep 3, 2024

Conversation

davidanthoff
Copy link
Collaborator

This essentially follows the logic in libuv https://github.com/libuv/libuv/blob/5ff1fc724f7f53d921599dbe18e6f96b298233f1/src/win/process.c#L69.

The idea is that when the launcher process is killed, we want to make sure the actual Julia process also is terminated.

@davidanthoff
Copy link
Collaborator Author

@vtjnash any chance you could take a look at this? Does this look reasonable to you?

@davidanthoff davidanthoff changed the title Ensure Julia termintes when launcher terminates on Windows Ensure Julia terminates when launcher terminates on Windows Sep 3, 2024
src/bin/julialauncher.rs Outdated Show resolved Hide resolved
@vtjnash
Copy link
Sponsor Member

vtjnash commented Sep 3, 2024

okay, seems pretty reasonable

@davidanthoff davidanthoff merged commit 2cb1989 into main Sep 3, 2024
23 checks passed
@davidanthoff davidanthoff deleted the job-windows branch September 3, 2024 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants