返回 DeepSeek-Reasonix
seatbelt_windows.go
根目录 / internal / sandbox / seatbelt_windows.go
1 //go:build windows
2
3 package sandbox
4
5 // Windows has no OS-level shell sandbox (see OSSandboxSupported), so every
6 // launch runs unwrapped as the current OS user.
7
8 // Command returns the shell invocation unwrapped.
9 func Command(_ Spec, sh Shell, command string) ([]string, bool) {
10 return sh.argv(command), false
11 }
12
13 // CommandArgs returns the raw argv unwrapped.
14 func CommandArgs(_ Spec, args []string) ([]string, bool) {
15 return args, false
16 }
17
18 // Available is always false on Windows.
19 func Available() bool { return false }
20
20 lines GO