返回 DeepSeek-Reasonix
shell_path_probe_windows.go
根目录 / internal / proc / shell_path_probe_windows.go
1 //go:build windows
2
3 package proc
4
5 import "os/exec"
6
7 // PrepareShellPATHProbe prepares a short-lived login-shell PATH probe process.
8 // Windows has no Unix controlling TTY/session job-control issue here; hide the
9 // helper window like other child processes started by the GUI app.
10 func PrepareShellPATHProbe(cmd *exec.Cmd) {
11 HideWindow(cmd)
12 }
13
13 lines GO