diff options
Diffstat (limited to 'worker.go')
-rw-r--r-- | worker.go | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -6,7 +6,6 @@ import ( "github.com/spiral/goridge" "os" "os/exec" - "runtime" "strconv" "strings" "sync" @@ -102,14 +101,6 @@ func (w *Worker) Wait() error { w.mu.Lock() defer w.mu.Unlock() - if runtime.GOOS != "windows" { - // windows handles processes and close pipes differently, - // we can ignore wait here as process.Wait() already being handled above - if err := w.cmd.Wait(); err != nil { - return err - } - } - if w.endState.Success() { w.state.set(StateStopped) return nil |