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

Option to run mosh-server in the foreground #1091

Open
normanr opened this issue Mar 9, 2020 · 1 comment · May be fixed by #1108
Open

Option to run mosh-server in the foreground #1091

normanr opened this issue Mar 9, 2020 · 1 comment · May be fixed by #1108

Comments

@normanr
Copy link

normanr commented Mar 9, 2020

It would be useful to have an option [-D] to run mosh-server without detaching from the terminal for scripts that want to wrap mosh-server execution.

Currently the only to wait for mosh-server to terminate is poling with kill(pid, 0), or configuring the wrapper to be a process reaper (PR_SET_CHILD_SUBREAPER on Linux, or PROC_REAP_ACQUIRE on BSD, and the wrapper then also has to handle SIGCHLD).

@fancsali
Copy link

+1

jkoelker added a commit to jkoelker/mosh that referenced this issue Aug 14, 2020
jkoelker added a commit to jkoelker/mosh that referenced this issue Aug 17, 2020
jkoelker added a commit to jkoelker/mosh that referenced this issue Aug 17, 2020
jkoelker added a commit to jkoelker/mosh that referenced this issue Aug 17, 2020
jkoelker added a commit to jkoelker/mosh that referenced this issue Aug 17, 2020
jkoelker added a commit to jkoelker/mosh that referenced this issue Aug 17, 2020
@jkoelker jkoelker linked a pull request Aug 17, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants