diff options
author | Wolfy-J <[email protected]> | 2018-01-28 14:28:52 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-01-28 14:28:52 +0300 |
commit | e4e5cadce7deef4c36c038a4900d55ea30dd099c (patch) | |
tree | da174e9e19a9df3b3800fc9a61b2595fd69c1336 /pipe_factory.go | |
parent | f060cf750fcdbce0cbc8621f87af1dfd1520e748 (diff) |
windows support
Diffstat (limited to 'pipe_factory.go')
-rw-r--r-- | pipe_factory.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pipe_factory.go b/pipe_factory.go index 3caa58ee..36f7a7e3 100644 --- a/pipe_factory.go +++ b/pipe_factory.go @@ -47,7 +47,6 @@ func (f *PipeFactory) SpawnWorker(cmd *exec.Cmd) (w *Worker, err error) { // todo: timeout ? if pid, err := fetchPID(w.rl); pid != *w.Pid { go func(w *Worker) { w.Kill() }(w) - if wErr := w.Wait(); wErr != nil { err = errors.Wrap(wErr, err.Error()) } |