Skip to content

better handling signals in xtask surun - #363

Merged
banditopazzo merged 1 commit into
mainfrom
xtask-surun-signals
Jul 17, 2025
Merged

better handling signals in xtask surun#363
banditopazzo merged 1 commit into
mainfrom
xtask-surun-signals

Conversation

@banditopazzo

Copy link
Copy Markdown
Member

This PR want to solve an issue that happens for example hitting CTRL-C on xtask::surun cmd. Right now when the child process doesn't terminate or needs more time the parent (xtask process) exits anyway giving you back the prompt and leaving the child process in background.

Here I changed how the signals are handled, only forwarding signals to the child process but keeping the parent waiting until the child process exits

@banditopazzo
banditopazzo requested a review from krsh July 17, 2025 09:43
@banditopazzo
banditopazzo merged commit 2bf80d7 into main Jul 17, 2025
30 checks passed
@banditopazzo
banditopazzo deleted the xtask-surun-signals branch July 22, 2025 15:12
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