sing-box/cmd/internal/build/main.go

21 lines
276 B
Go
Raw Normal View History

2022-12-11 14:38:01 +08:00
package main
import (
"os"
"os/exec"
"github.com/sagernet/sing-box/log"
)
func main() {
findSDK()
command := exec.Command(os.Args[1], os.Args[2:]...)
command.Stdout = os.Stdout
command.Stderr = os.Stderr
err := command.Run()
if err != nil {
log.Fatal(err)
}
}