# \<CTRL\>\<c\> on Windows

**URL:** <https://discourse.julialang.org/t/ctrl-c-on-windows/106707>\
**Category:** General Usage\
**Tags:** question, package, liveserver\
**Created:** [November 25, 2023, 1:42pm UTC](https://discourse.julialang.org/t/ctrl-c-on-windows/106707 "2023-11-25T13:42:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [November 25, 2023, 1:42pm UTC](https://discourse.julialang.org/t/ctrl-c-on-windows/106707/1 "2023-11-25T13:42:31Z")

</div>

I am using the package `LiveServer` to display my documentation, using this function:

```Julia
function docu()
    @eval using LiveServer
    Base.invokelatest(servedocs, launch_browser=true)
end

```

This works fine, but on Windows I am not able to terminate the server with `<CTRL>+<c>` as suggested by the text when launching it.

It works fine on Linux.

Any idea how to stop the server on Windows?

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [November 25, 2023, 4:01pm UTC](https://discourse.julialang.org/t/ctrl-c-on-windows/106707/2 "2023-11-25T16:01:46Z")

</div>

It did work for me

```julia
julia> using LiveServer

julia> serve(dir="C:\\v\\doc_t\\GMTjl_doc\\__site")
✓ LiveServer listening on http://localhost:8001/ ...
  (use CTRL+C to shut down)

⋮ shutting down LiveServer… ✓

```

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [November 25, 2023, 4:02pm UTC](https://discourse.julialang.org/t/ctrl-c-on-windows/106707/3 "2023-11-25T16:02:45Z")

</div>

Which terminal are you using?

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [November 25, 2023, 4:08pm UTC](https://discourse.julialang.org/t/ctrl-c-on-windows/106707/4 "2023-11-25T16:08:07Z")

</div>

The new Windows terminal that comes with Win11 (but that can be installed in Win10 as well).

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [November 25, 2023, 4:14pm UTC](https://discourse.julialang.org/t/ctrl-c-on-windows/106707/5 "2023-11-25T16:14:06Z")

</div>

I also use this terminal, but with bash from git for windows…

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [November 25, 2023, 4:16pm UTC](https://discourse.julialang.org/t/ctrl-c-on-windows/106707/6 "2023-11-25T16:16:35Z")

</div>

Hmm, this one was with a plain `cmd`.
