On Thu, Sep 26, 2013 at 06:27:10AM +0000, Hinrik Örn Sigurðsson wrote:
> The "&&" operator in bash seems to inhibit backgrounding when run over
> ssh. You can try it with the following:
> 
>   ssh localhost "cd /tmp && nohup sleep 10 >/dev/null 2>&1 &"
> 
> The above command will wait for sleep(1) to finish before returning.

Confirmed on HP-UX 10.20 with bash 4.2.37.  Changing && to ; causes
an immediate return.

Reply via email to