mobile-shell/mosh

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

Open

#1,010 opened on 2018年10月2日

GitHub で見る
 (2 comments) (1 reaction) (0 assignees)C++ (12,063 stars) (737 forks)batch import
docsfeaturegood first issue

説明

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?

コントリビューターガイド