kill process tree using syscall on windows & cleanup (#80)

* kill process tree using syscall on windows & cleanup

* use job api

* add error check for cmd.Start
This commit is contained in:
UUBulb
2024-10-28 23:32:23 +08:00
committed by GitHub
parent 134c8c5acb
commit 069fc302fe
4 changed files with 105 additions and 52 deletions
-1
View File
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
package pty