Skip to content

APT-703 Properly Kill Subprocesses With ctrl-c#81

Merged
afujiwara-roblox merged 14 commits into
mainfrom
APT-703
Oct 9, 2023
Merged

APT-703 Properly Kill Subprocesses With ctrl-c#81
afujiwara-roblox merged 14 commits into
mainfrom
APT-703

Conversation

@afujiwara-roblox

@afujiwara-roblox afujiwara-roblox commented Oct 4, 2023

Copy link
Copy Markdown
Collaborator

Running commands like "rojo serve" and pressing ctrl-c does not kill the rojo process as intended. Foreman should pass the signal to the tools it runs. This PR implements the same solution from Aftman

Manually tested ctrl-c kills subprocesses on M2 mac and Windows machines
Added 2 scripts to CI to test subprocess are properly killed on linux and windows machines

@afujiwara-roblox afujiwara-roblox marked this pull request as ready for review October 4, 2023 18:04

@ZoteTheMighty ZoteTheMighty left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I think the script-driven e2e tests are reasonable, this is a difficult thing to pin with tests anyways.

@afujiwara-roblox afujiwara-roblox linked an issue Oct 9, 2023 that may be closed by this pull request
@afujiwara-roblox afujiwara-roblox merged commit 9b17551 into main Oct 9, 2023
@afujiwara-roblox afujiwara-roblox deleted the APT-703 branch October 9, 2023 20:32
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Foreman does not properly kill long-running processes

2 participants