Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent ttyd from restarting the program on exit #478

Closed
joehakimrahme opened this issue Sep 14, 2020 · 3 comments
Closed

Prevent ttyd from restarting the program on exit #478

joehakimrahme opened this issue Sep 14, 2020 · 3 comments
Labels

Comments

@joehakimrahme
Copy link

joehakimrahme commented Sep 14, 2020

Hi, I'm using ttyd to launch /bin/bash inside a container. When exiting bash (either by entering exit or C-d), ttyd automatically clears the terminal and relaunch bash.

How can I make it so that bash doesn't restart and the screen output remains untouched?

Here's the command I use:

ttyd -p 8080 bash

More info:

[root@0494e00e4ad4 app]# ttyd --version
ttyd version 1.6.0

Installed form the Fedora32 package:

ttyd.x86_64                        1.6.0-1.fc32                     @updates      ```
@africanzoe
Copy link

I have the same problem/request.

@tsl0922
Copy link
Owner

tsl0922 commented Dec 14, 2020

@tsl0922
Copy link
Owner

tsl0922 commented Dec 27, 2020

Added a client option (on master) to disable it, usage: ttyd -t disableReconnect=true bash.

More Client Options.

@tsl0922 tsl0922 closed this as completed Dec 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants