github.com/nektos/act@v0.2.63/pkg/container/util_plan9.go (about)

     1  package container
     2  
     3  import (
     4  	"errors"
     5  	"os"
     6  	"syscall"
     7  )
     8  
     9  func getSysProcAttr(cmdLine string, tty bool) *syscall.SysProcAttr {
    10  	return &syscall.SysProcAttr{
    11  		Rfork: syscall.RFNOTEG,
    12  	}
    13  }
    14  
    15  func openPty() (*os.File, *os.File, error) {
    16  	return nil, nil, errors.New("Unsupported")
    17  }