Skip to content

Add support for sending arbitrary signals to a process - #89

Open
craftyguy wants to merge 1 commit into
go-cmd:masterfrom
craftyguy:stop_signal
Open

Add support for sending arbitrary signals to a process#89
craftyguy wants to merge 1 commit into
go-cmd:masterfrom
craftyguy:stop_signal

Conversation

@craftyguy

Copy link
Copy Markdown

This adds a public method, cmd.SendSignal, that allows sending a signal
to a process and, optionally, to the entire process group.

Internally, terminateProcess is replaced by signalProcess.

This adds a public method, cmd.SendSignal, that allows sending a signal
to a process and, optionally, to the entire process group.

Internally, terminateProcess is replaced by signalProcess.
@craftyguy

Copy link
Copy Markdown
Author

I don't have any way to test the changes for windows.. I was hoping that filing a merge request would trigger the CI, but I guess that's not wired up on github (?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant