bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash -c 'sleep 5 &' vs. ssh user@host 'sleep 5 &'


From: Clark Wang
Subject: Re: bash -c 'sleep 5 &' vs. ssh user@host 'sleep 5 &'
Date: Tue, 22 Sep 2020 23:37:47 +0800

On Tue, Sep 22, 2020 at 5:07 PM Robert Elz <kre@munnari.oz.au> wrote:

>
> With -t, there's no pty, when the shell exits, everything ends up
> closed - but the mechanism for this escapes me (what bash &/or sshd
> sees differently).   You'd do better to ask on an ssh related list
> I expect.
>

Found the question at https://unix.stackexchange.com/questions/346549/ .
The accepted answer does not look correct to me. Posted a new answer there.

-clark


reply via email to

[Prev in Thread] Current Thread [Next in Thread]