• stewie410@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    2 days ago

    shell built-in command

    After looking into it a bit more, its at least a builtin for bash but is otherwise not POSIX. I guess nohup ... & would be the POSIX compliant equivalent, though still not a builtin.

    Its my understanding that & backgrounds, not necessarily detaches, a process – if the parent process closes, I think the background tasks would still be wait()ed on, if only using &.