• [object Object]@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 days ago

    () creates a subshell, and & runs the command in background. The $@ means everything after the first argument, so the <command> is executed like a normal command. I am not sure why this works, but it has worked more consistently than nohup, disown, and it’s a lot shorter than most other solutions.