Skip to content

Commit

Permalink
Support interrupt on Windows soon!
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Sep 27, 2023
1 parent 3ee1275 commit e04ee06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 2 additions & 4 deletions src/evaluation/WorkspaceManager.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e04ee06

Please sign in to comment.