mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-07 12:33:42 +00:00
Add ErrProcessDone error
This is used in upstream Go's `os` package now.
This commit is contained in:
committed by
Ron Evans
parent
2365c7cfec
commit
c2f437e0b7
+7
-1
@@ -1,6 +1,9 @@
|
||||
package os
|
||||
|
||||
import "syscall"
|
||||
import (
|
||||
"errors"
|
||||
"syscall"
|
||||
)
|
||||
|
||||
type Signal interface {
|
||||
String() string
|
||||
@@ -24,6 +27,9 @@ type ProcAttr struct {
|
||||
Sys *syscall.SysProcAttr
|
||||
}
|
||||
|
||||
// ErrProcessDone indicates a Process has finished.
|
||||
var ErrProcessDone = errors.New("os: process already finished")
|
||||
|
||||
type ProcessState struct {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user