mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-03-20 03:46:09 +08:00
fix: tart backend stops VM to early (#76)
This commit is contained in:
@@ -101,7 +101,8 @@ func (vm *VM) Start(ctx context.Context, config Config, _ *Env, customDirectoryM
|
||||
|
||||
runArgs = append(runArgs, vm.id)
|
||||
|
||||
cmd := exec.CommandContext(ctx, tartCommandName, runArgs...)
|
||||
// Use Background context, because we want to keep the VM running
|
||||
cmd := exec.CommandContext(context.Background(), tartCommandName, runArgs...)
|
||||
|
||||
common.Logger(ctx).Debug(strings.Join(runArgs, " "))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user