Files
sing-box-extended-mirror/experimental/libbox/native_shell_session_stub.go
T

27 lines
595 B
Go
Raw Normal View History

2026-06-10 19:36:14 +08:00
//go:build !linux && !android && !darwin && !ios
2026-05-28 18:42:58 +08:00
package libbox
import (
E "github.com/sagernet/sing/common/exceptions"
)
func OpenNativeShellSession(
shell, cwd string,
args, environ StringIterator,
term string,
rows, cols, uid, gid int32,
groups Int32Iterator,
) (ShellSession, error) {
return nil, E.New("native shell session not supported on this platform")
}
func OpenNativePipeSession(
shell, cwd string,
args, environ StringIterator,
uid, gid int32,
groups Int32Iterator,
) (ShellSession, error) {
return nil, E.New("native pipe session not supported on this platform")
}