keep-running
Like dtach, but with a friendlier CLI.
Keep Running came out of me always wanting to run things on my framework desktop but being annoyed with tools like tmux for messing with scroll. I tried stuff like dtach but found it annoying. So I figured why not make something exactly the way I wanted it.
$keep-running run -n build -- cargo build --release
→ session 'build' started · pid 84219
→ detach with ctrl-\ ctrl-\
$keep-running ls
NAME PID STATUS UPTIME BUF
build 84219 running 14m 482 KB
tests 84402 running 3m 91 KB
$keep-running attach build
→ replaying last 482 KB from buffer...
Compiling porter v0.4.1 (/Users/_/code/porter)
Compiling tokio v1.36.0
→ live
$