Skip to content

Commit 5d4f795

Browse files
QuLogicdeadprogram
authored andcommitted
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`.
1 parent db8603e commit 5d4f795

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/os/exec.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,7 @@ func (p *Process) Wait() (*ProcessState, error) {
5555
func (p *Process) Kill() error {
5656
return ErrNotImplemented
5757
}
58+
59+
func (p *Process) Signal(sig Signal) error {
60+
return ErrNotImplemented
61+
}

0 commit comments

Comments
 (0)