aboutsummaryrefslogtreecommitdiffstats
path: root/golib/eows/eows-in.go
diff options
context:
space:
mode:
Diffstat (limited to 'golib/eows/eows-in.go')
-rw-r--r--golib/eows/eows-in.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/golib/eows/eows-in.go b/golib/eows/eows-in.go
index 1ecd2a1..89ca891 100644
--- a/golib/eows/eows-in.go
+++ b/golib/eows/eows-in.go
@@ -7,6 +7,7 @@ import (
"time"
)
+// DoneChan Channel used to propagate status+error on command exit
type DoneChan struct {
status int
err error
@@ -43,6 +44,8 @@ func (e *ExecOverWS) cmdPumpStdin(inw *os.File) {
s := sts.Sys().(syscall.WaitStatus)
status = s.ExitStatus()
}
+ e.procExited = true
+
done <- DoneChan{status, err}
}()