add windows support (#193)

* add windows support

* build for win

* fix win build
This commit is contained in:
Boshi Lian 2023-08-16 17:35:03 -07:00 committed by GitHub
parent 2482fd67c7
commit d2b002000e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 74 additions and 16 deletions

View file

@ -10,3 +10,7 @@ import (
func setPdeathsig(cmd *exec.Cmd) {
cmd.SysProcAttr = &syscall.SysProcAttr{Pdeathsig: syscall.SIGTERM}
}
func addProcessToJob(cmd *exec.Cmd) error {
return nil
}