Keep job (do not disown it), but mark it so that no future SIGHUP is received on shell exit

disown

  • Allow sub-processes to live beyond the shell that they are attached to.
    See also the `jobs` command.
    More information: <https://www.gnu.org/software/bash/manual/bash.html#index-disown>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

disown -h %{{job_number}}

click the source code to copy