mirror of
https://github.com/Twigpine/zero.git
synced 2026-11-10 05:01:28 -10:00
* feat(sandbox): unify command execution and enforcement * test(sandbox): make platform contracts portable * fix(sandbox): close execution lifecycle races Bound retained interactive output, preserve interruption state, and start workspace observation before process launch. Protect active runtime roots with cross-platform leases, capture transient protected-path creation events, and restore process attributes after PTY fallback. * fix(sandbox): restore strict macOS isolation Remove Seatbelt host-local network allowances after native validation showed localhost filters can reach host interfaces. Track process reap completion so retained sessions cannot signal a stale numeric PID.
14 lines
238 B
Go
14 lines
238 B
Go
//go:build !linux
|
|
|
|
package execution
|
|
|
|
import (
|
|
"errors"
|
|
"io"
|
|
"os/exec"
|
|
)
|
|
|
|
func startPTYProcess(_ *exec.Cmd, _ io.Writer) (io.WriteCloser, func(), error) {
|
|
return nil, nil, errors.New("pty transport is unavailable on this platform")
|
|
}
|