Skip to content

Option to run mosh-server in the foreground #1091

Open

Description

@normanr

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).

Activity

  1. fancsali commented on Jun 26, 2020

    @fancsali

    +1

  2. added 6 commits that reference this issue on Aug 14, 2020
    008bde3
    0fbf9fa
    f770829
    ad558b4
    6c01537
    6e55803
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions