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.
If it is run without ssh, it returns immediately. Furth
On Thu, Sep 26, 2013 at 8:07 PM, Bob Proulx wrote:
> Just a reminder that ssh reads from stdin unless explicitly told to
> avoid reading from stdin. If stdin isn't going to be used then the -n
> option should be used.
> [...]
> Regardless of the resolution of the above question about bash the
> u