返回 DeepSeek-Reasonix
shell_port.go
根目录 / internal / control / shell_port.go
1 package control
2
3 import "reasonix/internal/sandbox"
4
5 // BoundShell reports the interpreter this controller generation resolved at
6 // build time — the same shell the bash tool and "!" commands run under. Hosts
7 // compare it against a fresh ResolveShell to tell "current session" from
8 // "after reload".
9 func (c *Controller) BoundShell() sandbox.Shell {
10 return c.shell
11 }
12
12 lines GO