dotnet-repl icon indicating copy to clipboard operation
dotnet-repl copied to clipboard

Add possibility to exit dotnet-repl but still display the outputs it generates

Open PawelStadnicki opened this issue 7 months ago • 1 comments

First of all many thanks and congrats for the great tool. I returned to dotnet interactive after dozen of months and it is much more stable and works amazing for me.

Now I want to use dotnet-repl as part of my build process to run the notebook. It works great, I only miss one minor adjustment: I would like the dotnet-repl to display the outputs while it works but the exit it and continue with other commands.

I'm aware of --exit-after-run but it skips the outputs like here:

Image

which I still want to see on the screen.

Unfortunately something like some command && dotnet-repl --run VSCodeExtension\src\export-dist-to-azure.dib && ^C && some command doesn't work

PawelStadnicki avatar May 28 '25 10:05 PawelStadnicki

Thank you!

This is definitely a bug. I'm not sure there's actually a use case for suppressing the console output like that. Let me take a look at what's going on.

jonsequitur avatar May 28 '25 15:05 jonsequitur