diff options
author | Wolfy-J <[email protected]> | 2018-01-28 16:54:01 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-01-28 16:54:01 +0300 |
commit | 6d4275b8ae43ac621f377ed270b4975e2f9827e1 (patch) | |
tree | 32c6359bcef7b8d1a0049d2244305b2d9126dd57 /pipe_factory.go | |
parent | e8452de745acb7c729339bca4130a4f041324f3a (diff) |
cs
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 93e4b5d1..3b2f2f88 100644 --- a/pipe_factory.go +++ b/pipe_factory.go @@ -44,7 +44,6 @@ func (f *PipeFactory) SpawnWorker(cmd *exec.Cmd) (w *Worker, err error) { return nil, errors.Wrap(err, "process 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 { |