Daemonized redbean doesn't exit when run from ssh
When starting a daemonized redbean server on a remote machine using ssh:
$ ssh machine /redbean.com -d
The ssh session does not return.
This was fixed when adding the -t flag to ssh:
$ ssh -t machine /redbean.com -d
It does return like expected.
I doubt "allocating a pseudo-terminal" should be required for starting the daemon.
I noticed the same thing and came up with exactly the same solution. I used to work (likely with v2.0 or so), but then stopped working about 9m ago. I haven't had a chance to look at what may be happening, so would be interesting to find out what's happening.
I've found that it last worked at 9c7b81ee0fc6489f0db2f11cd7c239b1c41cbb1b and stopped working (started freezing) at 965516e3139e947be30cec38d3b129c0b7b7743b.