Add an empty os.Process.Signal implementation

This fixes compile of tests in Go 1.18, due to its use in
`src/internal/testenv/testenv.go`.
This commit is contained in:
Elliott Sales de Andrade
2022-02-05 19:18:38 -05:00
committed by Ron Evans
parent db8603e378
commit 5d4f795aec
+4
View File
@@ -55,3 +55,7 @@ func (p *Process) Wait() (*ProcessState, error) {
func (p *Process) Kill() error {
return ErrNotImplemented
}
func (p *Process) Signal(sig Signal) error {
return ErrNotImplemented
}