# How to attach to an existing remote REPL?

**URL:** <https://discourse.julialang.org/t/how-to-attach-to-an-existing-remote-repl/27608>\
**Category:** Performance\
**Tags:** distributed\
**Created:** [August 16, 2019, 9:46am UTC](https://discourse.julialang.org/t/how-to-attach-to-an-existing-remote-repl/27608 "2019-08-16T09:46:22Z")\
**Posts on this page:** 1\
**Showing post:** 22

<div class="post-metadata">

**Author:** ![essenciary](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/essenciary/32/210469_2.png) [@essenciary](https://discourse.julialang.org/u/essenciary)\
**Post date:** [August 30, 2019, 9:23am UTC](https://discourse.julialang.org/t/how-to-attach-to-an-existing-remote-repl/27608/22 "2019-08-30T09:23:49Z")

</div>

Going down this path, even simpler would be to have `supervisord` starting a `tmux` session which starts the Julia app. Then one can simply attatch to the `tmux` session.

I just tried it and I can start a new `byobu` session to start a Genie app with:  
`byobu new-session -s "session_name" "bin/server"`

This can be passed to `supervisord`

* * *

Update 1

Unfortunately, not so easy… By default `supervisord` would supervise `tmux` ☹ I think it can be set up so that the Julia app creates a `pidfile` and `supervisor` watches that. Will investigate, but it takes more digging…

* * *

Update 2

After more digging it’s a total no go. Looks like `tmux` can’t be started through `supervisor`.

---

_[View the full topic](https://discourse.julialang.org/t/how-to-attach-to-an-existing-remote-repl/27608)._
