diff --git a/cmd/cu/terminal.go b/cmd/cu/terminal.go index 37db660c..ca18f9d2 100644 --- a/cmd/cu/terminal.go +++ b/cmd/cu/terminal.go @@ -36,7 +36,7 @@ var terminalCmd = &cobra.Command{ } return fmt.Errorf("failed to look up dagger binary: %w", err) } - return syscall.Exec(daggerBin, append([]string{"dagger", "run"}, os.Args...), os.Environ()) + return syscall.Exec(daggerBin, append([]string{"dagger", "run"}, os.Args...), append(os.Environ(), "DAGGER_LEAVE_OLD_ENGINE=1")) } dag, err := dagger.Connect(ctx, dagger.WithLogOutput(os.Stderr))