From e04ee06db05e832740c6e0f6ddeeaaaf73903769 Mon Sep 17 00:00:00 2001 From: Fons van der Plas Date: Wed, 27 Sep 2023 18:03:23 +0200 Subject: [PATCH] Support interrupt on Windows soon! --- Project.toml | 2 +- src/evaluation/WorkspaceManager.jl | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Project.toml b/Project.toml index 740b6a12aa..9587b46a28 100644 --- a/Project.toml +++ b/Project.toml @@ -39,7 +39,7 @@ HTTP = "^1.5.2" HypertextLiteral = "0.7, 0.8, 0.9" LoggingExtras = "0.4, 1" MIMEs = "0.1" -Malt = "1.0.3" +Malt = "1.1" MsgPack = "1.1" PrecompileSignatures = "3" PrecompileTools = "1" diff --git a/src/evaluation/WorkspaceManager.jl b/src/evaluation/WorkspaceManager.jl index e6f44eda44..178b44f5f9 100644 --- a/src/evaluation/WorkspaceManager.jl +++ b/src/evaluation/WorkspaceManager.jl @@ -641,10 +641,8 @@ function interrupt_workspace(session_notebook::Union{SN,Workspace}; verbose=true return true end - if Sys.iswindows() - verbose && @warn "Unfortunately, stopping cells is currently not supported on Windows :( - Maybe the Windows Subsystem for Linux is right for you: - https://docs.microsoft.com/en-us/windows/wsl" + if (workspace.worker isa Malt.DistributedStdlibWorker) && Sys.iswindows() + verbose && @warn "Stopping cells is not yet supported on Windows, but it will be soon!\n\nYou can already try out this new functionality with:\n\nPluto.run(workspace_use_distributed_stdlib=false)\n\nLet us know what you think!" return false end