Skip to content

Commit a193549

Browse files
fix: tart backend stops VM to early (#76)
1 parent fcf370f commit a193549

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/tart/vm_darwin.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ func (vm *VM) Start(ctx context.Context, config Config, _ *Env, customDirectoryM
101101

102102
runArgs = append(runArgs, vm.id)
103103

104-
cmd := exec.CommandContext(ctx, tartCommandName, runArgs...)
104+
// Use Background context, because we want to keep the VM running
105+
cmd := exec.CommandContext(context.Background(), tartCommandName, runArgs...)
105106

106107
common.Logger(ctx).Debug(strings.Join(runArgs, " "))
107108

0 commit comments

Comments
 (0)