mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-09-30 11:35:40 +00:00
Add api command
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
//go:build !windows
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
"os"
|
||||
"syscall"
|
||||
)
|
||||
|
||||
func executeSSH(path string, argv []string) error {
|
||||
return syscall.Exec(path, argv, os.Environ())
|
||||
}
|
||||
Reference in New Issue
Block a user