fix: 隐藏 Windows 上 git 子进程的控制台窗口
This commit is contained in:
8
internal/git/hidewindow_other.go
Normal file
8
internal/git/hidewindow_other.go
Normal file
@@ -0,0 +1,8 @@
|
||||
//go:build !windows
|
||||
|
||||
package git
|
||||
|
||||
import "os/exec"
|
||||
|
||||
// hideWindow 非 Windows 平台无需处理
|
||||
func hideWindow(cmd *exec.Cmd) {}
|
||||
Reference in New Issue
Block a user