summaryrefslogtreecommitdiff
path: root/pool.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-01-28 14:28:52 +0300
committerWolfy-J <[email protected]>2018-01-28 14:28:52 +0300
commite4e5cadce7deef4c36c038a4900d55ea30dd099c (patch)
treeda174e9e19a9df3b3800fc9a61b2595fd69c1336 /pool.go
parentf060cf750fcdbce0cbc8621f87af1dfd1520e748 (diff)
windows support
Diffstat (limited to 'pool.go')
-rw-r--r--pool.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pool.go b/pool.go
index a14dde26..21637bef 100644
--- a/pool.go
+++ b/pool.go
@@ -68,8 +68,11 @@ func NewPool(cmd func() *exec.Cmd, factory Factory, cfg Config) (*Pool, error) {
// worker watcher
go func(w *Worker) {
if err := w.Wait(); err != nil {
+
// todo: register error
log.Println(err)
+
+ //todo: automatic replace
}
}(w)