Imports github.com/nightlyone/lockfile github.com/buildkite/agent/v3/env github.com/buildkite/shellwords github.com/buildkite/agent/v3/logger github.com/buildkite/agent/v3/process github.com/pkg/errors Standard library imports bytes context errors fmt io io/ioutil os os/exec path path/filepath regexp runtime strings sync syscall testing time