github.com/traefik/yaegi@v0.15.1/_test/restricted2.go (about)

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  	"os"
     6  )
     7  
     8  func main() {
     9  	p, err := os.FindProcess(os.Getpid())
    10  	fmt.Println(p, err)
    11  }
    12  
    13  // Output:
    14  // <nil> restricted