mirror of
https://github.com/SagerNet/sing-box.git
synced 2026-06-29 04:01:23 +00:00
26 lines
595 B
Go
26 lines
595 B
Go
//go:build !linux && !android && !darwin && !ios
|
|
|
|
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")
|
|
}
|