mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-12 10:54:09 +00:00
feat: Host environment (#1293)
This commit is contained in:
1 parent
64e68bd7f2
commit
f2b98ed301
39 files changed
+1396
-187
No files matched your search
@@ -0,0 +1,17 @@
|
||||
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")
|
||||
}
|
||||
Reference in new issue
Block a user