18 lines
280 B
Go
18 lines
280 B
Go
|
package container
|
||
|
|
||
|
import (
|
||
|
"errors"
|
||
|
"os"
|
||
|
"syscall"
|
||
|
)
|
||
|
|
||
|
func getSysProcAttr(cmdLine string, tty bool) *syscall.SysProcAttr {
|
||
|
return &syscall.SysProcAttr{
|
||
|
Rfork: syscall.RFNOTEG,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func openPty() (*os.File, *os.File, error) {
|
||
|
return nil, nil, errors.New("Unsupported")
|
||
|
}
|