Files
privatae-bastion/client-go/rootexec_windows.go
T
Privatae e4c9b69b46
ci / personal-data (push) Successful in 5s
ci / test (push) Successful in 3m4s
ci / fuzz (push) Successful in 3m45s
bastion 0.53.2
2026-10-20 04:42:14 +00:00

16 lines
419 B
Go

//go:build windows
package main
import (
"errors"
"io"
)
// Root commands ride the session lane, which has no Windows build yet: the
// lane answers "cannot", exit 1, so the host can say so.
func startRootExec(command string, stdout, stderr io.Writer, cgroupFD int) (rootExecProc, error) {
_, _, _, _ = command, stdout, stderr, cgroupFD
return nil, errors.New("root commands are not available on Windows yet")
}