Merge pull request #894 from blaggacao/patch-1

Execute plugins and pass context
mine
Fernand Galiana 2020-10-23 06:50:26 -06:00 committed by GitHub
commit 19383a273f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ func execute(opts shellOpts) error {
}()
log.Debug().Msgf("Running command> %s %s", opts.binary, strings.Join(opts.args, " "))
cmd := exec.Command(opts.binary, opts.args...)
cmd := exec.CommandContext(ctx, opts.binary, opts.args...)
var err error
if opts.background {