aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/os/exec.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/os/exec.go')
-rw-r--r--libgo/go/os/exec.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgo/go/os/exec.go b/libgo/go/os/exec.go
index cab6a73..edb773a 100644
--- a/libgo/go/os/exec.go
+++ b/libgo/go/os/exec.go
@@ -5,6 +5,7 @@
package os
import (
+ "errors"
"internal/testlog"
"runtime"
"sync"
@@ -13,6 +14,9 @@ import (
"time"
)
+// ErrProcessDone indicates a Process has finished.
+var ErrProcessDone = errors.New("os: process already finished")
+
// Process stores the information about a process created by StartProcess.
type Process struct {
Pid int