- Added `go1.24.0.linux-amd64.tar.gz` to `.gitignore`. - Removed unnecessary newline in `.mergify.yml`. - Updated `codecov.yml` to correct indentation for ignored files. - Enhanced `Makefile` to support linting on Windows. - Adjusted `.github/dependabot.yml` for proper indentation. - Fixed string quotes in `.github/workflows/checks.yml`. - Modified `pkg/container/util_windows.go` to ignore unused parameter. - Updated error handling in `pkg/lookpath/lp_windows.go`. - Refactored `pkg/runner/step_action_remote.go` to improve URL handling. - Updated `pkg/runner/hashfiles/index.js` with significant changes for better performance and structure.
16 lines
315 B
Go
16 lines
315 B
Go
package container
|
|
|
|
import (
|
|
"errors"
|
|
"os"
|
|
"syscall"
|
|
)
|
|
|
|
func getSysProcAttr(cmdLine string, _ 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")
|
|
}
|