# 如果我在进行“重建应用”时关闭 Putty 会话，进程会被中断吗？

**URL:** https://meta.discourse.org/t/if-im-doing-a-rebuild-app-and-close-the-putty-session-will-the-process-be-interrupted/111782
**Category:** Support
**Created:** [2019年三月16日 12:16 UTC](https://meta.discourse.org/t/if-im-doing-a-rebuild-app-and-close-the-putty-session-will-the-process-be-interrupted/111782 "2019-03-16T12:16:51Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mhwebee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mhwebee/32/120566_2.png) [@mhwebee](https://meta.discourse.org/u/mhwebee)
#### Post date: [2019年三月16日 12:16 UTC](https://meta.discourse.org/t/if-im-doing-a-rebuild-app-and-close-the-putty-session-will-the-process-be-interrupted/111782/1 "2019-03-16T12:16:51Z")

</div>

I started ./launcher rebuild app to update docker using Putty to the remote server, and during the process I needed to restart my local computer, then I rebooted but the new Putty session is now clean and I don’t know if the rebuild process still going on, currently I can’t reach my forum, but because it takes time to complete the rebuild, I don’t know if have to wait or the process failed.

Help…

---

<div class="post-metadata">

### Author: ![mhwebee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mhwebee/32/120566_2.png) [@mhwebee](https://meta.discourse.org/u/mhwebee)
#### Post date: [2019年三月16日 12:31 UTC](https://meta.discourse.org/t/if-im-doing-a-rebuild-app-and-close-the-putty-session-will-the-process-be-interrupted/111782/2 "2019-03-16T12:31:08Z")

</div>

So, it appears that the process gets interrupted if you close a Putty session.

I run the commands again, and now the forum is up an running again.

For newbies, rule of thumb, don’t close Putty session during rebuild.

Thanks,

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2019年三月16日 17:13 UTC](https://meta.discourse.org/t/if-im-doing-a-rebuild-app-and-close-the-putty-session-will-the-process-be-interrupted/111782/3 "2019-03-16T17:13:55Z")

</div>

The solution is to use `tmux` before you start. If you are disconnected you can reconnect with

```
 tmux attach 

```

When you log in again. (`screen ` is similar).

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2022年五月6日 05:23 UTC](https://meta.discourse.org/t/if-im-doing-a-rebuild-app-and-close-the-putty-session-will-the-process-be-interrupted/111782/5 "2022-05-06T05:23:16Z")

</div>


