mirror of
https://gitea.com/gitea/act
synced 2024-11-27 07:08:57 +00:00
16 lines
317 B
Go
16 lines
317 B
Go
package container
|
|
|
|
import (
|
|
"errors"
|
|
"os"
|
|
"syscall"
|
|
)
|
|
|
|
func getSysProcAttr(cmdLine string, tty bool) *syscall.SysProcAttr {
|
|
return &syscall.SysProcAttr{CmdLine: cmdLine, CreationFlags: syscall.CREATE_NEW_PROCESS_GROUP}
|
|
}
|
|
|
|
func openPty() (*os.File, *os.File, error) {
|
|
return nil, nil, errors.New("Unsupported")
|
|
}
|