Skip to content

gitserver: Add runCommandGraceful

Warren Gifford requested to merge rs/graceful-cmd-shutdown into main

Created by: ryanslade

Allows us to run a command and when the parent context is cancelled, attempt to send SIGINT to the child process. This will allow certain commands to have a chance to exit gracefully.

Test plan

New test added

Merge request reports

Loading