Skip to content

Commit 6242cb2

Browse files
committed
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 eb32bc5 commit 6242cb2

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
@@ -49,3 +49,7 @@ func (p *Process) Wait() (*ProcessState, error) {
4949
func (p *Process) Kill() error {
5050
return ErrNotImplemented
5151
}
52+
53+
func (p *Process) Signal(sig Signal) error {
54+
return ErrNotImplemented
55+
}

0 commit comments

Comments
 (0)