jonsequitur / dotnet-repl

A polyglot REPL built on .NET Interactive
MIT License
714 stars 35 forks source link

Stop active execution #5

Open AngelMunoz opened 3 years ago

AngelMunoz commented 3 years ago

there are certain cases where an execution might run indefinitely or simply hang by a logic mistake,

Repro example

dotnet-repl --default-kernel fsharp

#r "nuget: Suave"
open Suave
startWebServer defaultConfig (Successful.OK "Hello World!")

after you hit enter a "Suave" web server is running which steals the interactive session you need to close the terminal otherwise it won't stop until for some reason it fails.

this is an awesome project by the way I already love it!