mobile-shell / mobile-shell/mosh

mosh with background processes doesn't disconnect

Open
#1,035 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
14.5k
Forks
865
PR merge metrics
No merged PRs in 30d

Description

Steps to reproduce:

  1. mosh server bash
  2. sleep 60 &
  3. disown
  4. Ctrl+D

At step 4 I would expect mosh to disconnect, however it only disconnects when sleep 60 finishes.

Versions: mosh 1.3.2 (client) - mosh 1.3.0 (server)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with mosh server bash, a background sleep 60 &, disown, and Ctrl+D using the reported client and server versions. Trace the disconnect behavior around the background process and verify that Ctrl+D disconnects without waiting for sleep 60 to finish.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.