title: Django allow return response before another proccess finished
body: <p>I have a problem when I want to run a webhook. In this case I want to run another script to build the project, let say <code>runaway.sh</code></p>
  
  <pre><code>#!/bin/bash
  
  cd /home/myuser/envs/project-vue
  git pull https://username:password@gitlab.com/username/project-vue
  npm install
  npm run build
  </code></pre>
  
  <p>and then in my <code>views.py</code>, I try to call it command:</p>
  
  <pre><code>@csrf_exempt
  def gitlab_webhook_view(request):
      header_signature = request.META.get('HTTP_X_GITLAB_TOKEN')
  
      if header_signature == settings.GITLAB_WEBHOOK_KEY:
          subprocess.call(os.path.join(settings.BASE_DIR, 'runaway.sh'))
          return HttpResponse('pull &amp; build welldone!')
  
      return HttpResponseForbidden('Permission denied.')
  </code></pre>
  
  <p>But gitlab always return <code>Hook execution failed: Net::ReadTimeout</code>, As we know <code>npm install</code> &amp; <code>npm run build</code> take a long time.</p>
  
  <p>So, I want to continuing that process in the background service, and for a few seconds just return <code>"pull &amp; build welldone!"</code>. Thank before..</p>