mobile-shell/mosh

Undocumented behavior: mosh drops exit code of command executed on target, returns overall session success instead

Open

#1.010 aberto em 2 de out. de 2018

Ver no GitHub
 (2 comments) (1 reaction) (0 assignees)C++ (737 forks)batch import
docsfeaturegood first issue

Métricas do repositório

Stars
 (12.063 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

I would expect mosh --local 127.0.0.1 "sh -c 'exit 42'" ; echo $? to exit with code 42 as does ssh, but it exits with 0. Is this behavior intentional?

Guia do colaborador