mobile-shell/mosh

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

开放

#1,010 创建于 2018年10月2日

 (2 条评论) (1 个反应) (0 位负责人)C++ (737 个派生)batch import
docsfeaturegood first issue

仓库指标

星标
 (12,063 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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?

贡献者指南